From cd2b334fb47a995e0d11041e8960130a413fd222 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 28 Nov 2006 02:31:36 +0000 Subject: Bug 361809: GMT, UT, UTC and WET cannot be used as timezone - Patch by victory(_RSZ_) r=LpSolit a=justdave --- Bugzilla/Config/Common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm index a609936c0..0d6db5257 100644 --- a/Bugzilla/Config/Common.pm +++ b/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 ""; -- cgit v1.2.3-24-g4f1b