aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-11-28 02:31:36 +0000
committerlpsolit%gmail.com <>2006-11-28 02:31:36 +0000
commitcd2b334fb47a995e0d11041e8960130a413fd222 (patch)
tree1955b37775e68e156d480956438b8cc66b56b2c4 /Bugzilla/Config
parent563ef374a364affe51239bec9a9bbd94b5b2e4f7 (diff)
downloadbugs-cd2b334fb47a995e0d11041e8960130a413fd222.tar
bugs-cd2b334fb47a995e0d11041e8960130a413fd222.tar.gz
bugs-cd2b334fb47a995e0d11041e8960130a413fd222.tar.bz2
bugs-cd2b334fb47a995e0d11041e8960130a413fd222.tar.xz
bugs-cd2b334fb47a995e0d11041e8960130a413fd222.zip
Bug 361809: GMT, UT, UTC and WET cannot be used as timezone - Patch by victory(_RSZ_) <bmo2007@rsz.jp> r=LpSolit a=justdave
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r--Bugzilla/Config/Common.pm2
1 files changed, 1 insertions, 1 deletions
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 "";