// Little fix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9606 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-10-24 15:47:09 +00:00
parent 7e8ba0ffff
commit fb601c96f8
3 changed files with 14 additions and 16 deletions

View File

@@ -156,7 +156,7 @@ abstract class ModuleCore
SELECT `id_module`
FROM `'._DB_PREFIX_.'module`
WHERE `name` = \''.pSQL($this->name).'\'');
if (0&&$result)
if ($result)
return false;
$result = Db::getInstance()->AutoExecute(_DB_PREFIX_.$this->table, array('name' => $this->name, 'active' => 1), 'INSERT');