summaryrefslogtreecommitdiff
path: root/includes/sys_page.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/sys_page.php')
-rw-r--r--includes/sys_page.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/sys_page.php b/includes/sys_page.php
index fd03e291..b2199988 100644
--- a/includes/sys_page.php
+++ b/includes/sys_page.php
@@ -164,7 +164,7 @@ function strip_request_item($name, $default_value = null)
function test_request_int($name)
{
if (isset($_REQUEST[$name])) {
- return preg_match('/^[0-9]*$/', $_REQUEST[$name]);
+ return preg_match('/^\d*$/', $_REQUEST[$name]);
}
return false;
}