diff options
author | gerv%gerv.net <> | 2000-12-15 01:39:33 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2000-12-15 01:39:33 +0000 |
commit | 6fb4c1bbf40248f37cf88be7b0c7e9371520b9c3 (patch) | |
tree | afd986e1d2d996d520c2379167acdf6713c5c36f /duplicates.cgi | |
parent | Fixed dupes table detection code; added check for graphs directory. (diff) | |
download | bugzilla-6fb4c1bbf40248f37cf88be7b0c7e9371520b9c3.tar.gz bugzilla-6fb4c1bbf40248f37cf88be7b0c7e9371520b9c3.tar.bz2 bugzilla-6fb4c1bbf40248f37cf88be7b0c7e9371520b9c3.zip |
Fixed problem with ranges in regexps that I dreamt about a few nights ago.
Diffstat (limited to 'duplicates.cgi')
-rwxr-xr-x | duplicates.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/duplicates.cgi b/duplicates.cgi index a45da6bb2..57a5b05dd 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"); } |