[-] BO : Fix bug #PSCFV-9990 bad count on list header helper
This commit is contained in:
1 parent
ccc2312053
commit
6a073143f2
1 file changed
+2
-1
@@ -2206,6 +2206,7 @@ class AdminControllerCore extends Controller
|
|||||||
($this->_tmpTableFilter ? ') tmpTable WHERE 1'.$this->_tmpTableFilter : '').
|
($this->_tmpTableFilter ? ') tmpTable WHERE 1'.$this->_tmpTableFilter : '').
|
||||||
(($use_limit === true) ? ' LIMIT '.(int)$start.','.(int)$limit : '');
|
(($use_limit === true) ? ' LIMIT '.(int)$start.','.(int)$limit : '');
|
||||||
|
|
||||||
|
$this->_listTotal = 0;
|
||||||
if (!($this->_list = Db::getInstance()->executeS($this->_listsql)))
|
if (!($this->_list = Db::getInstance()->executeS($this->_listsql)))
|
||||||
$this->_list_error = Db::getInstance()->getMsgError();
|
$this->_list_error = Db::getInstance()->getMsgError();
|
||||||
else
|
else
|
||||||
@@ -3000,4 +3001,4 @@ class AdminControllerCore extends Controller
|
|||||||
|
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user