Fix "Undefined variable: cnt"
This commit is contained in:
parent
216ada5cc4
commit
1b76df4b6a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user