[-] BO : #PSCFV-2583 fix customers which are displaying in notifications
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15741 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -102,7 +102,7 @@ class NotificationCore
|
|||||||
$sql = '
|
$sql = '
|
||||||
SELECT t.`id_'.bqSQL($type).'`
|
SELECT t.`id_'.bqSQL($type).'`
|
||||||
FROM `'._DB_PREFIX_.bqSQL($type).'` t
|
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').'
|
Shop::addSqlRestriction(false, 't').'
|
||||||
ORDER BY t.`id_'.bqSQL($type).'` DESC
|
ORDER BY t.`id_'.bqSQL($type).'` DESC
|
||||||
';
|
';
|
||||||
|
|||||||
Reference in New Issue
Block a user