Code

Fixed department selection if php version 4
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 May 2007 12:31:53 +0000 (12:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 May 2007 12:31:53 +0000 (12:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6249 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_userinfo.inc

index b409af88be28968ba291ba24e40523ca7aa5655b..f6665f9b6311080b1fd3800ffa7d6e6abe9c3caa 100644 (file)
@@ -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" => "");