From cd1f84fb378bf3093d9e82cacf51c84b7c235218 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Thu, 28 Jan 2021 16:26:53 +0800 Subject: [PATCH] =?UTF-8?q?1.28=E5=8A=9F=E8=83=BD=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/UserController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/UserController.class.php b/Application/Admin/Controller/UserController.class.php index 1e9e0d035..39bca125e 100644 --- a/Application/Admin/Controller/UserController.class.php +++ b/Application/Admin/Controller/UserController.class.php @@ -33,7 +33,7 @@ class UserController extends AdminController } if(isset($_REQUEST['real_name'])) { - $map['real_name'] = $_REQUEST['real_name']; + $map['real_name'] = array('like', '%' . (string)$_REQUEST['real_name'] . '%'); } if (is_numeric($nickname)) {