Pman.php
authorAlan Knowles <alan@roojs.com>
Thu, 19 Jul 2018 03:18:13 +0000 (11:18 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Jul 2018 03:18:13 +0000 (11:18 +0800)
Pman.php

index 951d50f..b3a2564 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -565,9 +565,8 @@ class Pman extends HTML_FlexyFramework_Page
     {
         // should do mobile checking???
         if ($total == false) {
-            $total = is_array($ar) ? count($ar) : 1;
+            $total =  count($ar) ;
         }
-        
         $extra=  $extra ? $extra : array();
         require_once 'Services/JSON.php';
         $json = new Services_JSON();