cmmit
authorbenny <benny@roojs.com>
Thu, 19 Jul 2018 03:23:06 +0000 (11:23 +0800)
committerbenny <benny@roojs.com>
Thu, 19 Jul 2018 03:23:06 +0000 (11:23 +0800)
Pman.php

index 1b1feaf..b90d547 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -565,10 +565,10 @@ class Pman extends HTML_FlexyFramework_Page
     {
         // should do mobile checking???
         if ($total == false) {
-            //$total = count($ar);
-            if ($ar instanceof \Countable || is_array($ar)) {
+            $total = count($ar);
+            /*if ($ar instanceof \Countable || is_array($ar)) {
                 $total = count($ar);
-            }
+            }*/
         }
         
         $extra=  $extra ? $extra : array();