Oops fix typo

This commit is contained in:
james 2010-09-27 20:04:12 +00:00
parent 55bdb2aec5
commit 54bf2201de

View File

@ -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 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; return -3;
} }