From 0d8842e4d70ad7c1cc4fb87f8577c6a867efaea9 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Mon, 27 Nov 2006 18:31:36 +0000 Subject: [PATCH] Bug 361809: GMT, UT, UTC and WET cannot be used as timezone - Patch by victory(_RSZ_) r=LpSolit a=justdave git-svn-id: svn://10.0.0.236/trunk@215877 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Config/Common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Config/Common.pm b/mozilla/webtools/bugzilla/Bugzilla/Config/Common.pm index a609936c06a..0d6db5257e4 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Config/Common.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/Config/Common.pm @@ -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 "";