]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix "Undefined variable: cnt"
authorJeffery To <jeffery.to@gmail.com>
Fri, 12 Jun 2009 11:49:33 +0000 (19:49 +0800)
committerJeffery To <jeffery.to@gmail.com>
Fri, 12 Jun 2009 11:49:33 +0000 (19:49 +0800)
actions/groups.php

index 26b52a5fcd4dde75618205ccb3716900a8a4d6b8..1cf3599593a2dcd9c84b84258777ad378a54e392 100644 (file)
@@ -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();