Code

Updated check for boolean config values
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 6 May 2010 09:42:11 +0000 (09:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 6 May 2010 09:42:11 +0000 (09:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18165 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc

index 2084547815f471a3aca24f18a4e66caf20ed67f6..0ba844224f1ca6cc8239fd1f93c754220499f701 100644 (file)
@@ -71,7 +71,7 @@ class mimetypeManagement 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"){