Commit 12da0dd5 authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 178801: Missing &:: caused function call to fail, resulting in server error.

r=justdave a=justdave
parent 41942f34
...@@ -968,7 +968,7 @@ sub SqlifyDate { ...@@ -968,7 +968,7 @@ sub SqlifyDate {
my $date = str2time($str); my $date = str2time($str);
if (!defined($date)) { if (!defined($date)) {
$::vars->{'date'} = $str; $::vars->{'date'} = $str;
ThrowUserError("illegal_date"); &::ThrowUserError("illegal_date");
} }
return time2str("%Y-%m-%d %H:%M:%S", $date); return time2str("%Y-%m-%d %H:%M:%S", $date);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment