Code

Updated acl management
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Jul 2008 15:55:32 +0000 (15:55 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Jul 2008 15:55:32 +0000 (15:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12033 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/acl/class_aclManagement.inc

index d60500cee0782728f24a6b27a7b864e7a20a6b3f..0b87aefd0503152a42ea09bcbbd811f70ceb4b4a 100644 (file)
@@ -45,7 +45,7 @@ class aclManagement extends plugin
     $this->ui     = &$ui;
 
     /* Copy & Paste enabled ?*/
-    if((isset($this->config->data['MAIN']['ENABLECOPYPASTE']))&&(preg_match("/true/i",$this->config->data['MAIN']['ENABLECOPYPASTE']))){
+    if ($this->config->get_cfg_value("enablecopypaste") == "true"){
       $this->CopyPasteHandler = new CopyPasteHandler($this->config);
     }