[-] BO : #PSCFV-2583 fix customers which are displaying in notifications

This commit is contained in:
lLefevre
2012-05-29 14:11:55 +00:00
parent ee4cce034a
commit 4aa0b991f7
+1 -1
View File
@@ -102,7 +102,7 @@ class NotificationCore
$sql = '
SELECT t.`id_'.bqSQL($type).'`
FROM `'._DB_PREFIX_.bqSQL($type).'` t
WHERE t.`id_'.bqSQL($type).'` > '.(int)$id_last_element.
WHERE t.`deleted` = 0 AND t.`id_'.bqSQL($type).'` > '.(int)$id_last_element.
Shop::addSqlRestriction(false, 't').'
ORDER BY t.`id_'.bqSQL($type).'` DESC
';