From: hickert Date: Mon, 10 May 2010 12:20:39 +0000 (+0000) Subject: Replaced config->search with get_cfg_value X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f0ebe2ffcd3f2cf0c17b24267aae3ded0f5c1823;p=gosa.git Replaced config->search with get_cfg_value git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18232 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc index ed322ff3b..237de00d9 100644 --- a/gosa-plugins/goto/personal/environment/class_environment.inc +++ b/gosa-plugins/goto/personal/environment/class_environment.inc @@ -301,7 +301,8 @@ class environment extends plugin } } - if($cnt && $this->config->search("environment","kioskpath",array('menu','tabs'))){ + $tmp = $this->config->get_cfg_value("environment","kioskPath"); + if($cnt && !empty($tmp)){ $this->kiosk_enabled = TRUE; }