From 6458a4b292bb7a40c8f966b8fdce5dbd54230c38 Mon Sep 17 00:00:00 2001 From: lBrieu Date: Mon, 19 Dec 2011 15:46:47 +0000 Subject: [PATCH] --- 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'] : '')) ); }