From b4517c994539cd275e168abed8248dbf97bce9e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BB=94=E5=93=A5?= Date: Thu, 14 Dec 2017 11:17:15 +0800 Subject: [PATCH] * Fix bug --- module/user/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/user/control.php b/module/user/control.php index 8a50ef8419..2188c95621 100644 --- a/module/user/control.php +++ b/module/user/control.php @@ -393,7 +393,7 @@ class user extends control if(!empty($_POST)) { - if(strtolower($_POST['account'] == 'guest')) + if(strtolower($_POST['account']) == 'guest') { die(js::error(str_replace('ID ', '', sprintf($this->lang->user->error->reserved, $_POST['account'])))); }