From e6693bbfb2f36dd0f31199a3eac40a19c4e38f28 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 3 Oct 2005 10:48:13 +0000 Subject: [PATCH] fixed error message --- lam/lib/modules/posixAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/modules/posixAccount.inc b/lam/lib/modules/posixAccount.inc index aff3f984..5ede9840 100644 --- a/lam/lib/modules/posixAccount.inc +++ b/lam/lib/modules/posixAccount.inc @@ -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'];