Code

Updated check for boolean config values
[gosa.git] / gosa-plugins / goto / admin / applications / class_applicationManagement.inc
index e1bafafa080de3cb5b29fb43aa922e0a7a635e23..2c5e02c60ec37772627167edee9afc3f88ad2ed4 100644 (file)
@@ -71,10 +71,10 @@ class applicationManagement 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("enableSnapshots") == "true"){
+    if($this->config->get_cfg_value("core","enableSnapshots") == "true"){
       $this->snapHandler = new SnapshotHandler($this->config);
     }
     parent::__construct($config, $ui, "applications", $headpage);