From eb398f1a9f7ecbcbca4919b19facf3fafeb1ada3 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Tue, 24 Jul 2012 08:23:21 +0000 Subject: [PATCH] //norme git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16538 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/helper/HelperList.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/helper/HelperList.php b/classes/helper/HelperList.php index 1533330aa..49d2ce89b 100644 --- a/classes/helper/HelperList.php +++ b/classes/helper/HelperList.php @@ -505,7 +505,8 @@ class HelperListCore extends Helper $total_pages = ceil($this->listTotal / Tools::getValue('pagination', ($default_pagination))); - if (!$total_pages) $total_pages = 1; + if (!$total_pages) + $total_pages = 1; $identifier = Tools::getIsset($this->identifier) ? '&'.$this->identifier.'='.(int)Tools::getValue($this->identifier) : ''; $order = '';