// Small fixes
This commit is contained in:
@@ -498,8 +498,13 @@ class AdminMetaControllerCore extends AdminController
|
||||
{
|
||||
if (!Shop::isFeatureActive() && $this->url && $this->url->domain != $value)
|
||||
{
|
||||
$this->url->domain = $value;
|
||||
$this->url->update();
|
||||
if (Validate::isCleanHtml($value))
|
||||
{
|
||||
$this->url->domain = $value;
|
||||
$this->url->update();
|
||||
}
|
||||
else
|
||||
$this->errors[] = Tools::displayError('Domain is not valid');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -510,8 +515,13 @@ class AdminMetaControllerCore extends AdminController
|
||||
{
|
||||
if (!Shop::isFeatureActive() && $this->url && $this->url->domain_ssl != $value)
|
||||
{
|
||||
$this->url->domain_ssl = $value;
|
||||
$this->url->update();
|
||||
if (Validate::isCleanHtml($value))
|
||||
{
|
||||
$this->url->domain_ssl = $value;
|
||||
$this->url->update();
|
||||
}
|
||||
else
|
||||
$this->errors[] = Tools::displayError('SSL Domain is not valid');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
'title' => $this->l('Displayed'),
|
||||
'width' => 70,
|
||||
'active' => 'status',
|
||||
'filter_key' => 'a!active',
|
||||
'filter_key' => 'sa!active',
|
||||
'align' => 'center',
|
||||
'type' => 'bool',
|
||||
'orderby' => false
|
||||
|
||||
Reference in New Issue
Block a user