1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Admin-UI/Form-handler Avoid PHP warning if perPage = 0.

This commit is contained in:
Cameron
2017-06-14 13:00:53 -07:00
parent c46726dd31
commit 69ec33bc99

View File

@@ -1836,7 +1836,7 @@ class e_form
public function pagination($url='', $total=0, $from=0, $perPage=10, $options=array())
{
if(empty($total))
if(empty($total) || empty($perPage))
{
return '';
}