projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c685eb
)
Pman.php
author
Alan Knowles
<alan@roojs.com>
Thu, 19 Jul 2018 03:18:13 +0000
(11:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 19 Jul 2018 03:18:13 +0000
(11:18 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/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();