From af51b8aa87834369d856e42c6a091341557dcdc7 Mon Sep 17 00:00:00 2001 From: lBrieu Date: Mon, 19 Dec 2011 15:46:47 +0000 Subject: [PATCH] git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11369 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 880dffc8d..74808d55d 100644 --- a/classes/Notification.php +++ b/classes/Notification.php @@ -106,7 +106,7 @@ class NotificationCore 'id_customer' => ((!empty($value['id_customer'])) ? (int)$value['id_customer'] : 0), 'id_customer_message' => ((!empty($value['id_customer_message'])) ? (int)$value['id_customer_message'] : 0), 'id_customer_thread' => ((!empty($value['id_customer_thread'])) ? (int)$value['id_customer_thread'] : 0), - 'total_paid_real' => ((!empty($value['total_paid_real'] && $currency != NULL)) ? Tools::displayPrice((float)$value['total_paid_real'], $currency, false) : 0), + 'total_paid_real' => ((!empty($value['total_paid_real']) && $currency != NULL) ? Tools::displayPrice((float)$value['total_paid_real'], $currency, false) : 0), 'customer_name' => (($customer != NULL) ? $customer->firstname.' '.$customer->lastname : (isset($value['email']) ? $value['email'] : '')) ); }