// Fix collection in cartRule
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11018 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -151,7 +151,7 @@ abstract class ObjectModelCore
|
||||
$this->id_shop = Context::getContext()->shop->getID(true);
|
||||
|
||||
if (!Validate::isTableOrIdentifier($this->identifier) || !Validate::isTableOrIdentifier($this->table))
|
||||
throw new PrestashopException('Identifier or table format not valid');
|
||||
throw new PrestashopException('Identifier or table format not valid for class '.get_class($this));
|
||||
|
||||
if ($id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user