summaryrefslogtreecommitdiff
path: root/includes/sys_page.php
diff options
context:
space:
mode:
authorBot <bot@myigel.name>2017-01-21 19:47:44 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-01-21 20:12:48 +0100
commit740026a9de6cba73c4e77aba78950d0a791b6b62 (patch)
tree187eb8fc8bccf731c095c00d6f8108ba0f4b8b06 /includes/sys_page.php
parent915ce28feeb9104bf7854ccbd80caebb5dce4aaa (diff)
Replaced [0-9] with \d
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;
}