diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Config/Common.pm | 2 |
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 ""; |