]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Backing out Gerv's brainspasm for him
authortara%tequilarista.org <>
Sat, 3 Mar 2001 08:17:07 +0000 (08:17 +0000)
committertara%tequilarista.org <>
Sat, 3 Mar 2001 08:17:07 +0000 (08:17 +0000)
duplicates.cgi

index 57a5b05dd033a3d598e93b20654f2eb07cb66e16..a45da6bb2a2a3fffd9afcd03ced2cdafef59bd9f 100755 (executable)
@@ -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");
 }