summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2009-06-12 19:49:33 +0800
committerJeffery To <jeffery.to@gmail.com>2009-06-12 19:49:33 +0800
commit1b76df4b6aa4d5f092fa4f7188a9e853443452e1 (patch)
treec9c44e732f225b54008f71f63f91982d5211ea2e
parent216ada5cc4cc73eb8c9d22e9ad19cec0d07ff9ea (diff)
Fix "Undefined variable: cnt"
-rw-r--r--actions/groups.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/groups.php b/actions/groups.php
index 26b52a5fc..1cf359959 100644
--- a/actions/groups.php
+++ b/actions/groups.php
@@ -113,6 +113,7 @@ class GroupsAction extends Action
$groups->orderBy('created DESC');
$groups->limit($offset, $limit);
+ $cnt = 0;
if ($groups->find()) {
$gl = new GroupList($groups, null, $this);
$cnt = $gl->show();