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