From 3cdefc4150ec4404da02e19d24b9314ab399af09 Mon Sep 17 00:00:00 2001 From: "tara%tequilarista.org" <> Date: Sat, 3 Mar 2001 08:17:07 +0000 Subject: Backing out Gerv's brainspasm for him --- duplicates.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'duplicates.cgi') 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"); } -- cgit v1.2.3-24-g4f1b