// Translations
This commit is contained in:
1 parent
2a83b538fa
commit
45a2f73dd4
5 files changed
+15
-8
No files matched your search
@@ -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