From db0320537cbe7ac20effd4ba6643f0bb6fd49ecd Mon Sep 17 00:00:00 2001 From: lLefevre Date: Tue, 29 May 2012 14:11:55 +0000 Subject: [PATCH] [-] 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 --- classes/Notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Notification.php b/classes/Notification.php index a163ffb89..aa64c78fc 100644 --- a/classes/Notification.php +++ b/classes/Notification.php @@ -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 ';