X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_userinfo.inc;h=c69ef528ea0a9a759db25124bbff2f7feba9d6e5;hb=a1042e3e00ba59c4bf021996296bed796f1a815c;hp=615b49fcb49bb01581d63ed7cd36d8f9d54f954d;hpb=0e484188da012f53726fce1ffde1fc0585f6abb4;p=gosa.git diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index 615b49fcb..c69ef528e 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -370,7 +370,8 @@ class userinfo $aclCategory = $object; } - if($this->config->get_cfg_value("core","displayErrors") == "true"){ + if($this->config->boolValueIsTrue("core","developmentMode")){ + if(!isset($this->ocMapping[$aclCategory])){ trigger_error("Invalid ACL category '".$aclCategory."'! ({$object})"); return(""); @@ -744,7 +745,7 @@ class userinfo } } }else{ - if($this->config->get_cfg_value("core","displayErrors") == "true"){ + if($this->config->boolValueIsTrue("core","developmentMode")){ trigger_error("Invalid type of category ".$category); } $acl = "";