summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-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 501106ff..1b33d1f4 100644
--- a/includes/sys_page.php
+++ b/includes/sys_page.php
@@ -186,7 +186,7 @@ function strip_request_item_nl($name, $default_value = null)
{
$request = request();
if ($request->has($name)) {
- return preg_replace("/([^\p{L}\p{S}\p{P}\p{Z}\p{N}+\n]{1,})/ui", '', strip_tags($request->get($name)));
+ return preg_replace("/([^\p{L}\p{S}\p{P}\p{Z}\p{N}+\n]{1,})/ui", '', strip_tags($request->input($name)));
}
return $default_value;
}