From 31e8cf7197b6e2727593189c84251ddd3583b01c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 6 May 2010 09:42:27 +0000 Subject: [PATCH] Updated check for boolean config values git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18171 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/users/class_userManagement.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index 9665ff458..f3a542938 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -66,7 +66,7 @@ class userManagement extends management $headpage->setFilter($filter); // Add copy&paste and snapshot handler. - if ($this->config->boolValueIsTrue("main", "copyPaste")){ + if ($this->config->boolValueIsTrue("core", "copyPaste")){ $this->cpHandler = new CopyPasteHandler($this->config); } if($this->config->get_cfg_value("core","enableSnapshots") == "true"){ @@ -705,7 +705,7 @@ class userManagement extends management function copyPasteHandler($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="",$altAclPlugin="") { - if ($this->config->boolValueIsTrue("main", "copyPaste")){ + if ($this->config->boolValueIsTrue("core", "copyPaste")){ $this->cpHandler->lastdn = ""; $str = management::copyPasteHandler($action,$target,$all); if($this->cpHandler->lastdn != "" && isset($_POST['passwordTodo']) && $_POST['passwordTodo'] == "new"){ -- 2.30.2