// Remove $this->table and $this->identifier from objectModels + normalize

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11076 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-09 14:05:24 +00:00
parent dc9fb17b01
commit d0c1239c17
20 changed files with 124 additions and 115 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ class MetaCore extends ObjectModel
public function deleteSelection($selection)
{
if (!is_array($selection) OR !Validate::isTableOrIdentifier($this->identifier) OR !Validate::isTableOrIdentifier($this->table))
if (!is_array($selection))
die(Tools::displayError());
$result = true;
foreach ($selection AS $id)