Commit 1b76df4b authored by Jeffery To's avatar Jeffery To

Fix "Undefined variable: cnt"

parent 216ada5c
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment