From: gerv%gerv.net <> Date: Sat, 8 Nov 2003 08:27:43 +0000 (+0000) Subject: Bug 221160 - crash if illegal date specified in new charts date range. Patch by gerv... X-Git-Tag: bugzilla-2.17.6~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee4db0ae49ef6ac641fb8713784e86165586b0c4;p=thirdparty%2Fbugzilla.git Bug 221160 - crash if illegal date specified in new charts date range. Patch by gerv; r=kiko, a=justdave. --- diff --git a/Bugzilla/Chart.pm b/Bugzilla/Chart.pm index 03b5e4173a..8d3d9f643d 100644 --- a/Bugzilla/Chart.pm +++ b/Bugzilla/Chart.pm @@ -93,7 +93,7 @@ sub init { foreach my $date ('datefrom', 'dateto') { if ($self->{$date}) { $self->{$date} = &::str2time($self->{$date}) - || ThrowUserError("illegal_date", { date => $self->{$date}}); + || &::ThrowUserError("illegal_date", { date => $self->{$date}}); } }