Commit 3cdefc41 authored by tara%tequilarista.org's avatar tara%tequilarista.org

Backing out Gerv's brainspasm for him

parent bba2e46c
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment