summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r--Bugzilla/Config/MTA.pm3
-rw-r--r--Bugzilla/Config/Query.pm3
2 files changed, 4 insertions, 2 deletions
diff --git a/Bugzilla/Config/MTA.pm b/Bugzilla/Config/MTA.pm
index 61569e2d3..50aa8c85d 100644
--- a/Bugzilla/Config/MTA.pm
+++ b/Bugzilla/Config/MTA.pm
@@ -104,7 +104,8 @@ Configure bugmail: %urlbase%userprefs.cgi?tab=email
{
name => 'whinedays',
type => 't',
- default => 7
+ default => 7,
+ checker => \&check_numeric
},
{
diff --git a/Bugzilla/Config/Query.pm b/Bugzilla/Config/Query.pm
index b86339fc9..e3996a0ee 100644
--- a/Bugzilla/Config/Query.pm
+++ b/Bugzilla/Config/Query.pm
@@ -51,7 +51,8 @@ sub get_param_list {
{
name => 'mostfreqthreshold',
type => 't',
- default => '2'
+ default => '2',
+ checker => \&check_numeric
},
{