[-] BO : Bad return value for AdminCountries::processStatus()
This commit is contained in:
1 parent
c1a4dd6b66
commit
d99a1eba24
1 file changed
+3
-3
@@ -433,10 +433,10 @@ class AdminCountriesControllerCore extends AdminController
|
|||||||
|
|
||||||
public function processStatus()
|
public function processStatus()
|
||||||
{
|
{
|
||||||
$return = parent::processStatus();
|
parent::processStatus();
|
||||||
if (Validate::isLoadedObject($object = $this->loadObject()) && $object->active == 1)
|
if (Validate::isLoadedObject($object = $this->loadObject()) && $object->active == 1)
|
||||||
$return &= Country::addModuleRestrictions(array(), array(array('id_country' => $object->id)), array());
|
return Country::addModuleRestrictions(array(), array(array('id_country' => $object->id)), array());
|
||||||
return $return;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function processBulkStatusSelection($way)
|
public function processBulkStatusSelection($way)
|
||||||
|
|||||||
Reference in new issue
Block a user