From f7994534ba7162f3e81ce85ef3a11321a0e7d13c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 16 Jul 2007 09:54:12 +0000 Subject: [PATCH] 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 --- include/class_timezones.inc | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2