another PHP5 related fix

This commit is contained in:
Roland Gruber 2005-08-11 18:33:32 +00:00
parent 0ac4c8800d
commit 579d94d031
1 changed files with 1 additions and 0 deletions

View File

@ -625,6 +625,7 @@ class posixAccount extends baseModule {
/* Write variables into object and do some regexp checks
*/
function process_attributes(&$post) {
$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.'), '');