From: lpsolit%gmail.com <> Date: Tue, 28 Nov 2006 02:31:36 +0000 (+0000) Subject: Bug 361809: GMT, UT, UTC and WET cannot be used as timezone - Patch by victory(_RSZ_... X-Git-Tag: bugzilla-2.23.4~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd2b334fb47a995e0d11041e8960130a413fd222;p=thirdparty%2Fbugzilla.git Bug 361809: GMT, UT, UTC and WET cannot be used as timezone - Patch by victory(_RSZ_) r=LpSolit a=justdave --- diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm index a609936c06..0d6db5257e 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 "";