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'])))); }