aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--inc/functions.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/functions.inc.php b/inc/functions.inc.php
index 39f1cd0..a72a589 100644
--- a/inc/functions.inc.php
+++ b/inc/functions.inc.php
@@ -15,6 +15,7 @@ function validate_get($value, $type) {
15 return NULL; 15 return NULL;
16 break; 16 break;
17 case 'plugin': 17 case 'plugin':
18 case 'category':
18 case 'type': 19 case 'type':
19 if (!preg_match('/^\w+$/u', $value)) 20 if (!preg_match('/^\w+$/u', $value))
20 return NULL; 21 return NULL;