Fix call to joinform in grouplist

This commit is contained in:
Evan Prodromou 2009-01-23 02:58:48 +01:00
parent 0e1ea38319
commit df54373411

View File

@ -34,7 +34,7 @@ if (!defined('LACONICA')) {
require_once INSTALLDIR.'/lib/widget.php';
define('groupS_PER_PAGE', 20);
define('GROUPS_PER_PAGE', 20);
/**
* Widget to show a list of groups
@ -72,7 +72,7 @@ class GroupList extends Widget
while ($this->group->fetch()) {
$cnt++;
if($cnt > groupS_PER_PAGE) {
if($cnt > GROUPS_PER_PAGE) {
break;
}
$this->showgroup();
@ -164,7 +164,7 @@ class GroupList extends Widget
$lf = new LeaveForm($this->out, $this->group);
$lf->show();
} else {
$jf = new JoinForm();
$jf = new JoinForm($this->out, $this->group);
$jf->show();
}
}