From f0ebe2ffcd3f2cf0c17b24267aae3ded0f5c1823 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 12:20:39 +0000 Subject: [PATCH] Replaced config->search with get_cfg_value git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18232 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/personal/environment/class_environment.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.30.2