From 54bf2201de29034e0524145a244b9a5106c1507a Mon Sep 17 00:00:00 2001 From: james Date: Mon, 27 Sep 2010 20:04:12 +0000 Subject: [PATCH] Oops fix typo --- account.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.inc.php b/account.inc.php index 9951e94..7b4fd7c 100644 --- a/account.inc.php +++ b/account.inc.php @@ -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; }