Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Commit 766c2b2

Browse files
Merge pull request #21 from SebBareyre/patch-1
[-] MO : Fix error on delete item
2 parents 3f54c33 + 5b150d6 commit 766c2b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themeconfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ protected function removeItem()
394394
if ($image = Db::getInstance()->getValue('SELECT image FROM `'._DB_PREFIX_.'themeconfigurator` WHERE id_item = '.(int)$id_item))
395395
$this->deleteImage($image);
396396

397-
Db::getInstance()->delete(_DB_PREFIX_.'themeconfigurator', 'id_item = '.(int)$id_item);
397+
Db::getInstance()->delete('themeconfigurator', 'id_item = '.(int)$id_item);
398398

399399
if (Db::getInstance()->Affected_Rows() == 1)
400400
{

0 commit comments

Comments
 (0)