summaryrefslogtreecommitdiff
path: root/actions/groups.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-06-30 16:25:52 -0700
committerZach Copley <zach@controlyourself.ca>2009-06-30 16:25:52 -0700
commitccbc5c447df5a5284b8845d9a53f28d17d8df875 (patch)
treeed45e1f842768e7993aff857a9edf5a36541f562 /actions/groups.php
parentb10dba27982a94d73fb7f8d70cae611241871706 (diff)
parent612a107e09619b92d4614e2f3076ddca5c65824c (diff)
Merge commit 'jeff-themovie/small-fixes' into 0.8.x
* commit 'jeff-themovie/small-fixes': Fix missing max_id in API search calls Fix "Trying to get property of non-object" errors when a user tries to log in using an unknown nickname Fix "Trying to get property of non-object" errors when accessing the people search results page Fix "Undefined variable: cnt" Fix "Trying to get property of non-object" errors in groupeditform.php Fix "Undefined property: DisfavorAction::$id"
Diffstat (limited to 'actions/groups.php')
-rw-r--r--actions/groups.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/groups.php b/actions/groups.php
index b49d80f37..3d62843ed 100644
--- a/actions/groups.php
+++ b/actions/groups.php
@@ -115,6 +115,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();