fixed error message
This commit is contained in:
parent
98fe55d275
commit
e6693bbfb2
|
@ -617,7 +617,7 @@ class posixAccount extends baseModule {
|
||||||
$triggered_messages = array();
|
$triggered_messages = array();
|
||||||
$groups = $_SESSION['cache']->findgroups(); // list of all groupnames
|
$groups = $_SESSION['cache']->findgroups(); // list of all groupnames
|
||||||
if (count($groups)==0) {
|
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['homeDirectory'][0] = $post['homeDirectory'];
|
||||||
$this->attributes['loginShell'][0] = $post['loginShell'];
|
$this->attributes['loginShell'][0] = $post['loginShell'];
|
||||||
|
|
Loading…
Reference in New Issue