[-] BO: Fix the product indexation only on the default shop #PSCFV-5227

This commit is contained in:
Rémi Gaillard
2012-11-22 15:35:29 +01:00
parent 5dfa888b6f
commit c5f52bcf7c
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1255,7 +1255,7 @@ abstract class ObjectModelCore
}
$sql = 'UPDATE '._DB_PREFIX_.$def['table'].' a
'.Shop::addSqlAssociation($def['table'], 'a').'
'.Shop::addSqlAssociation($def['table'], 'a', true, null, true).'
SET '.implode(', ', $update_data).'
WHERE '.$where;
return Db::getInstance()->execute($sql);