Code

Updated check for boolean config values
[gosa.git] / gosa-core / plugins / admin / departments / class_departmentManagement.inc
index eabe9acc33c2a3e4792203088b6538a8f5dd2481..79ec8eb4fbe3a89167fe106d6700f61c8f83b53d 100644 (file)
@@ -53,7 +53,7 @@ class departmentManagement extends management
     $this->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"){