[FIX] Spelling mistake
Thanks @szoyj
This commit is contained in:
parent
2c3ae28fca
commit
0bdc124eb2
@ -863,7 +863,7 @@ class User extends Base {
|
|||||||
$this->debug->append("STA " . __METHOD__, 4);
|
$this->debug->append("STA " . __METHOD__, 4);
|
||||||
// Fetch the users mail address
|
// Fetch the users mail address
|
||||||
if (empty($username)) {
|
if (empty($username)) {
|
||||||
$this->serErrorMessage("Username must not be empty");
|
$this->setErrorMessage("Username must not be empty");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (filter_var($username, FILTER_VALIDATE_EMAIL)) {
|
if (filter_var($username, FILTER_VALIDATE_EMAIL)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user