Fixed problem with ranges in regexps that I dreamt about a few nights ago.
git-svn-id: svn://10.0.0.236/trunk@83632 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
af796f688f
commit
f88a68ca1b
@ -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");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user