From 2d1beb3b2826530abc0b87dcf2ef54adde727178 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" Date: Sat, 8 Nov 2003 00:27:43 +0000 Subject: [PATCH] Bug 221160 - crash if illegal date specified in new charts date range. Patch by gerv; r=kiko, a=justdave. git-svn-id: svn://10.0.0.236/trunk@149031 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Chart.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Chart.pm b/mozilla/webtools/bugzilla/Bugzilla/Chart.pm index 03b5e4173ae..8d3d9f643d1 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Chart.pm +++ b/mozilla/webtools/bugzilla/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}}); } }