From: hickert Date: Wed, 5 May 2010 10:03:41 +0000 (+0000) Subject: Added property class to get_cfg_requests X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a3d91e9524443869282ffa5d0bd8b4b0dc8cc5cb;p=gosa.git Added property class to get_cfg_requests git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18106 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/utils/class_timezone.inc b/gosa-core/include/utils/class_timezone.inc index 4f11be801..516c88936 100644 --- a/gosa-core/include/utils/class_timezone.inc +++ b/gosa-core/include/utils/class_timezone.inc @@ -38,10 +38,10 @@ class timezone { } /* Is there a timezone configured in the gosa configuration (gosa.conf) */ - if ($config->get_cfg_value("timezone") != ""){ + if ($config->get_cfg_value("core","timezone") != ""){ /* Get zonename */ - $tz = $config->get_cfg_value("timezone"); + $tz = $config->get_cfg_value("core","timezone"); if(!@date_default_timezone_set($tz)){ msg_dialog::display(_("Configuration error"), sprintf(_("The configured timezone %s is not valid!"), bold($tz)), ERROR_DIALOG);