aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/input.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/input.php')
-rw-r--r--engine/lib/input.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/engine/lib/input.php b/engine/lib/input.php
index 1380860b8..51bddf9f8 100644
--- a/engine/lib/input.php
+++ b/engine/lib/input.php
@@ -23,8 +23,14 @@
global $CONFIG;
- if (isset($CONFIG->input[$variable]))
- return $CONFIG->input[$variable];
+ if (isset($CONFIG->input[$variable])) {
+ $var = $CONFIG->input[$variable];
+
+ if ($filter_result)
+ $var = filter_tags($var);
+
+ return $var;
+ }
if (isset($_REQUEST[$variable])) {