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->orderBy('created DESC');
|
||||||
$groups->limit($offset, $limit);
|
$groups->limit($offset, $limit);
|
||||||
|
|
||||||
|
$cnt = 0;
|
||||||
if ($groups->find()) {
|
if ($groups->find()) {
|
||||||
$gl = new GroupList($groups, null, $this);
|
$gl = new GroupList($groups, null, $this);
|
||||||
$cnt = $gl->show();
|
$cnt = $gl->show();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user