fixed error message

This commit is contained in:
Roland Gruber 2005-10-03 10:48:13 +00:00
parent 98fe55d275
commit e6693bbfb2
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ class posixAccount extends baseModule {
$triggered_messages = array();
$groups = $_SESSION['cache']->findgroups(); // list of all groupnames
if (count($groups)==0) {
return array("ERROR", _('No Unix groups found in LDAP! Please create one first.'), '');
return array(array(array("ERROR", _('No Unix groups found in LDAP! Please create one first.'), '')));
}
$this->attributes['homeDirectory'][0] = $post['homeDirectory'];
$this->attributes['loginShell'][0] = $post['loginShell'];