summaryrefslogtreecommitdiffstats
path: root/help-boot/en/opt::o_splash.html
diff options
context:
space:
mode:
authorAnne Nicolas <ennael@mageia.org>2012-04-09 19:40:48 +0000
committerAnne Nicolas <ennael@mageia.org>2012-04-09 19:40:48 +0000
commit7cf1dd50270c3458d640194d7140fe0651c95eec (patch)
treeb533a587968cbd236e45e85325d736ca46cdadab /
keywords/email patch by mike.morgan@oregonstate.edu (michael morgan) r=bbaetz a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Search.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 1637671f0..171a1b824 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -34,6 +34,7 @@ use vars qw($userid);
package Bugzilla::Search;
use Bugzilla::Config;
+use Bugzilla::Error;
use Bugzilla::Util;
use Date::Format;
@@ -103,7 +104,7 @@ sub init {
my $c = trim($params->param('votes'));
Diffstat (limited to 'help-boot/en/opt::o_splash.html')
0 files changed, 0 insertions, 0 deletions
ne "") {
if ($c !~ /^[0-9]*$/) {
- &::ThrowUserError("illegal_changed_in_last_x_days",
+ ThrowUserError("illegal_changed_in_last_x_days",
{ value => $c });
}
push(@specialchart, ["changedin",
@@ -460,10 +461,10 @@ sub init {
$t = "greaterthan";
}
if ($field eq "ispatch" && $v ne "0" && $v ne "1") {
- &::ThrowUserError("illegal_attachment_is_patch");
+ ThrowUserError("illegal_attachment_is_patch");
}
if ($field eq "isobsolete" && $v ne "0" && $v ne "1") {
- &::ThrowUserError("illegal_is_obsolete");
+ ThrowUserError("illegal_is_obsolete");
}
$f = "$table.$field";
},
@@ -992,7 +993,7 @@ sub SqlifyDate {
}
my $date = str2time($str);
if (!defined($date)) {
- &::ThrowUserError("illegal_date", { date => $str });
+ ThrowUserError("illegal_date", { date => $str });
}
return time2str("%Y-%m-%d %H:%M:%S", $date);
}