From: hickert Date: Thu, 3 May 2007 12:31:53 +0000 (+0000) Subject: Fixed department selection if php version 4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9392e7d5a37a6261116e2aa5dfdc14173ac11b85;p=gosa.git Fixed department selection if php version 4 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6249 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_userinfo.inc b/include/class_userinfo.inc index b409af88b..f6665f9b6 100644 --- a/include/class_userinfo.inc +++ b/include/class_userinfo.inc @@ -286,6 +286,11 @@ class userinfo } } + /* Load departments here, if we are using php4 */ + if(is_php4()){ + $this->config->get_departments(); + } + /* For all gosaDepartments */ foreach ($this->config->departments as $dn){ $acl= array("r" => "", "w" => "", "c" => "", "d" => "", "m" => "", "a" => "");