From ee4db0ae49ef6ac641fb8713784e86165586b0c4 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Sat, 8 Nov 2003 08:27:43 +0000 Subject: Bug 221160 - crash if illegal date specified in new charts date range. Patch by gerv; r=kiko, a=justdave. --- Bugzilla/Chart.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Chart.pm') diff --git a/Bugzilla/Chart.pm b/Bugzilla/Chart.pm index 03b5e4173..8d3d9f643 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}}); } } -- cgit v1.2.3-24-g4f1b