summaryrefslogtreecommitdiffstats
path: root/duplicates.cgi
diff options
context:
space:
mode:
authortara%tequilarista.org <>2001-03-03 09:17:07 +0100
committertara%tequilarista.org <>2001-03-03 09:17:07 +0100
commit3cdefc4150ec4404da02e19d24b9314ab399af09 (patch)
treed3abd374f20c2d030c1d3dbd4b81a4a51fdb80d5 /duplicates.cgi
parentbba2e46cd8211fa6ea4e0714f525ac11e533f54e (diff)
downloadbugzilla-3cdefc4150ec4404da02e19d24b9314ab399af09.tar.gz
bugzilla-3cdefc4150ec4404da02e19d24b9314ab399af09.tar.xz
Backing out Gerv's brainspasm for him
Diffstat (limited to 'duplicates.cgi')
-rwxr-xr-xduplicates.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/duplicates.cgi b/duplicates.cgi
index 57a5b05dd..a45da6bb2 100755
--- a/duplicates.cgi
+++ b/duplicates.cgi
@@ -62,7 +62,7 @@ else
}
# Check for changedsince param, and see if it's a positive integer
-if (defined(param("changedsince")) && param("changedsince") =~ /^\d{1-4}$/)
+if (defined(param("changedsince")) && param("changedsince") =~ /^\d{1,4}$/)
{
$changedsince = param("changedsince");
}
@@ -75,7 +75,7 @@ else
$before = &days_ago($changedsince);
# check for max rows parameter
-if (defined(param("maxrows")) && param("maxrows") =~ /^\d{1-4}$/)
+if (defined(param("maxrows")) && param("maxrows") =~ /^\d{1,4}$/)
{
$maxrows = param("maxrows");
}