// Translations
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15600 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -686,7 +686,7 @@ abstract class ObjectModelCore
|
||||
{
|
||||
// Object must have a variable called 'active'
|
||||
if (!array_key_exists('active', $this))
|
||||
throw new PrestaShopException('property "active is missing in object '.get_class($this));
|
||||
throw new PrestaShopException('property "active" is missing in object '.get_class($this));
|
||||
|
||||
// Update active status on object
|
||||
$this->active = !(int)$this->active;
|
||||
|
||||
Reference in New Issue
Block a user