Fix "Undefined variable: cnt"

This commit is contained in:
Jeffery To 2009-06-12 19:49:33 +08:00
parent 216ada5cc4
commit 1b76df4b6a

View File

@ -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();