From 581b81f1b25dc6b6f0a3b34810c293738fd40217 Mon Sep 17 00:00:00 2001 From: msquare Date: Fri, 28 Jul 2017 20:33:14 +0200 Subject: [PATCH] fix wrong request get --- includes/sys_page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }