From: hickert Date: Mon, 16 Jul 2007 09:54:12 +0000 (+0000) Subject: return 0 timezone offset if timezone is not configured X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f7994534ba7162f3e81ce85ef3a11321a0e7d13c;p=gosa.git return 0 timezone offset if timezone is not configured git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6874 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_timezones.inc b/include/class_timezones.inc index b3db5a334..c541d718f 100644 --- a/include/class_timezones.inc +++ b/include/class_timezones.inc @@ -30,6 +30,7 @@ function get_default_timezone() $zone = get_timezone($tz); if(!count($zone)){ print_red(sprintf(_("The timezone you have configured in your gosa.conf (%s) is not valid."),$tz)); + $zone = array("name" => "unconfigured", "value" => 0); } } return($zone);