// Little fix
This commit is contained in:
1 parent
3553466293
commit
98b0be7338
2 files changed
+1
-3
No files matched your search
+1
-1
@@ -156,7 +156,7 @@ abstract class ModuleCore
|
|||||||
SELECT `id_module`
|
SELECT `id_module`
|
||||||
FROM `'._DB_PREFIX_.'module`
|
FROM `'._DB_PREFIX_.'module`
|
||||||
WHERE `name` = \''.pSQL($this->name).'\'');
|
WHERE `name` = \''.pSQL($this->name).'\'');
|
||||||
if (0&&$result)
|
if ($result)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
$result = Db::getInstance()->AutoExecute(_DB_PREFIX_.$this->table, array('name' => $this->name, 'active' => 1), 'INSERT');
|
$result = Db::getInstance()->AutoExecute(_DB_PREFIX_.$this->table, array('name' => $this->name, 'active' => 1), 'INSERT');
|
||||||
|
|||||||
@@ -25,8 +25,6 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once(dirname(__FILE__).'/../config/config.inc.php');
|
|
||||||
|
|
||||||
abstract class PaymentModuleCore extends Module
|
abstract class PaymentModuleCore extends Module
|
||||||
{
|
{
|
||||||
/** @var integer Current order's id */
|
/** @var integer Current order's id */
|
||||||
|
|||||||
Reference in new issue
Block a user