summaryrefslogtreecommitdiff
path: root/includes/pages/admin_rooms.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/pages/admin_rooms.php
parent915ce28feeb9104bf7854ccbd80caebb5dce4aaa (diff)
Replaced [0-9] with \d
Diffstat (limited to 'includes/pages/admin_rooms.php')
-rw-r--r--includes/pages/admin_rooms.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/admin_rooms.php b/includes/pages/admin_rooms.php
index 50be15f3..d483f99e 100644
--- a/includes/pages/admin_rooms.php
+++ b/includes/pages/admin_rooms.php
@@ -112,7 +112,7 @@ function admin_rooms()
foreach ($angeltypes as $angeltype_id => $angeltype) {
if (
isset($_REQUEST['angeltype_count_' . $angeltype_id])
- && preg_match('/^[0-9]{1,4}$/', $_REQUEST['angeltype_count_' . $angeltype_id])
+ && preg_match('/^\d{1,4}$/', $_REQUEST['angeltype_count_' . $angeltype_id])
) {
$angeltypes_count[$angeltype_id] = $_REQUEST['angeltype_count_' . $angeltype_id];
} else {