From: Jeffery To Date: Fri, 12 Jun 2009 11:49:33 +0000 (+0800) Subject: Fix "Undefined variable: cnt" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b76df4b6aa4d5f092fa4f7188a9e853443452e1;p=quix0rs-gnu-social.git Fix "Undefined variable: cnt" --- diff --git a/actions/groups.php b/actions/groups.php index 26b52a5fcd..1cf3599593 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();