]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 361809: GMT, UT, UTC and WET cannot be used as timezone - Patch by victory(_RSZ_...
authorlpsolit%gmail.com <>
Tue, 28 Nov 2006 02:31:36 +0000 (02:31 +0000)
committerlpsolit%gmail.com <>
Tue, 28 Nov 2006 02:31:36 +0000 (02:31 +0000)
Bugzilla/Config/Common.pm

index a609936c06a92a75dc580b657bd10ac95c76ffb9..0d6db5257e47219d2fd8ad458b8b70cefa9b2f8a 100644 (file)
@@ -326,7 +326,7 @@ sub check_notification {
 
 sub check_timezone {
     my $tz = shift;
-    unless (tz_offset($tz)) {
+    unless (defined(tz_offset($tz))) {
         return "must be empty or a legal timezone name, such as PDT or JST";
     }
     return "";