summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-07-28 20:33:14 +0200
committermsquare <msquare@notrademark.de>2017-07-28 20:33:14 +0200
commit581b81f1b25dc6b6f0a3b34810c293738fd40217 (patch)
tree6184e561d0030433fc3412db8bb9ef54028fadee /includes
parent7f4aa6daa5a8ce72055f2328cf8c17eb8a691b79 (diff)
fix wrong request get
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;
}