// Remove bad _SQL_USE_SLAVE_ uses + normalize Db->executeS(), Db->execute() and Db->numRows() names
This commit is contained in:
1 parent
149c814a45
commit
9510337b1d
280 files changed
+1971
-1966
No files matched your search
@@ -42,7 +42,7 @@ if (Tools::getValue('action') == 'updateSlidesPosition' && Tools::getValue('slid
|
||||
|
||||
foreach ($slides as $position => $id_slide)
|
||||
{
|
||||
$res = Db::getInstance()->Execute('
|
||||
$res = Db::getInstance()->execute('
|
||||
UPDATE `'._DB_PREFIX_.'homeslider_slides` SET `position` = '.(int)($position).'
|
||||
WHERE `id_slide` = '.(int)($id_slide)
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user