Pman/Roo.php
authorleon <leon@roojs.com>
Tue, 2 Aug 2022 05:01:08 +0000 (13:01 +0800)
committerleon <leon@roojs.com>
Tue, 2 Aug 2022 05:01:08 +0000 (13:01 +0800)
Pman/Roo.php

index 2e1ac28..fdf563c 100644 (file)
@@ -370,7 +370,7 @@ class Pman_Roo extends Pman
         // this make take some time...
         $this->sessionState(0);
        // echo "<PRE>"; print_r($ret);
-        $this->jdata($ret, max(count($ret), $total), $extra );
+        $this->jdata($ret, max(count($ret), isset($total) ? $total : 0), $extra );
 
     
     }