summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Chart.pm
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-11-08 09:27:43 +0100
committergerv%gerv.net <>2003-11-08 09:27:43 +0100
commitee4db0ae49ef6ac641fb8713784e86165586b0c4 (patch)
tree6f37eed2abac823ccc1f24d9bcf3124e743c418f /Bugzilla/Chart.pm
parent0cd9365dbf64295ba4d2d5972b5269a81f33fa14 (diff)
downloadbugzilla-ee4db0ae49ef6ac641fb8713784e86165586b0c4.tar.gz
bugzilla-ee4db0ae49ef6ac641fb8713784e86165586b0c4.tar.xz
Bug 221160 - crash if illegal date specified in new charts date range. Patch by gerv; r=kiko, a=justdave.
Diffstat (limited to 'Bugzilla/Chart.pm')
-rw-r--r--Bugzilla/Chart.pm2
1 files changed, 1 insertions, 1 deletions
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}});
}
}