diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index f2d90968b..83655b212 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -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 ''; }