From: hickert Date: Mon, 18 Jun 2007 07:35:33 +0000 (+0000) Subject: Fixed config object usage X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f67e93a0a3a3af3f376d14e16b47c7386cb14d1a;p=gosa.git Fixed config object usage git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6609 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_ldap.inc b/include/class_ldap.inc index b01dd99e9..84e5a7fb2 100644 --- a/include/class_ldap.inc +++ b/include/class_ldap.inc @@ -1311,9 +1311,10 @@ function gen_xls ($dn, $filter= "(objectClass=*)", $attributes= array('*'), $rec function get_objectclasses() { + global $config; $objectclasses = array(); - - if(!isset($this->config->data['MAIN']['SCHEMA_CHECK']) || !preg_match("/true/i",$this->config->data['MAIN']['SCHEMA_CHECK'])){ + + if(!isset($config->data['MAIN']['SCHEMA_CHECK']) || !preg_match("/true/i",$config->data['MAIN']['SCHEMA_CHECK'])){ return($objectclasses); }