* Fix bug

This commit is contained in:
滔哥
2017-12-14 11:17:15 +08:00
parent 4efc830f31
commit b4517c9945
+1 -1
View File
@@ -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']))));
}