forked from science-ation/science-ation
Oops fix typo
This commit is contained in:
parent
55bdb2aec5
commit
54bf2201de
@ -136,7 +136,7 @@ function account_create($username,$password=NULL)
|
||||
}
|
||||
|
||||
//if the password is set, make sure its valid, if its null, thats OK, it'll get generated and set by account_set_password
|
||||
if($password $$ !account_valid_password($password)) {
|
||||
if($password && !account_valid_password($password)) {
|
||||
return -3;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user