From: cajus Date: Thu, 24 Jul 2008 16:07:47 +0000 (+0000) Subject: Fixed a couple of errors X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f3d9b2781597ae35fb015bf7f79b81e3075f8e9e;p=gosa.git Fixed a couple of errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12036 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/php_setup.inc b/gosa-core/include/php_setup.inc index 299aceb9c..722591c8b 100644 --- a/gosa-core/include/php_setup.inc +++ b/gosa-core/include/php_setup.inc @@ -50,8 +50,8 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) if(class_exists("log") && !preg_match("/No such object/",$errstr)){ new log("view","error","",array(),"PHP error: $errstr ($errfile, line $errline)"); } + return; - } } /* Send all errors to logging class, except "Ldap : No such object" messages*/ diff --git a/gosa-core/include/utils/class_timezone.inc b/gosa-core/include/utils/class_timezone.inc index 3c382406c..7fcd7d5ca 100644 --- a/gosa-core/include/utils/class_timezone.inc +++ b/gosa-core/include/utils/class_timezone.inc @@ -38,7 +38,7 @@ class timezone { } /* Is there a timezone configured in the gosa configuration (gosa.conf) */ - if ($config->get_cfg_value("timezone") != "") + if ($config->get_cfg_value("timezone") != ""){ /* Get zonename */ $tz = $config->get_cfg_value("timezone"); diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc index 38ff24b24..decaf8053 100644 --- a/gosa-core/plugins/admin/groups/class_groupManagement.inc +++ b/gosa-core/plugins/admin/groups/class_groupManagement.inc @@ -44,7 +44,7 @@ class groupManagement extends plugin $this->ui = &$ui; /* Copy & Paste enabled ?*/ - if($this->config->get_value("enablecopypaste") == "true"){ + if($this->config->get_cfg_value("enablecopypaste") == "true"){ $this->CopyPasteHandler = new CopyPasteHandler($this->config); }