another typo

This commit is contained in:
Friendika 2011-04-21 00:29:48 -07:00
parent 0803abcf53
commit 6e6d143aab

View File

@ -95,7 +95,7 @@ function settings_post(&$a) {
} }
if(strlen($mail_pass)) { if(strlen($mail_pass)) {
$pass = ''; $pass = '';
openssl_public_encrypt($mail_pass,$pass,$a->user['pubkey'])); openssl_public_encrypt($mail_pass,$pass,$a->user['pubkey']);
q("UPDATE `mailacct` SET `pass` = '%s' WHERE `uid` = %d LIMIT 1", q("UPDATE `mailacct` SET `pass` = '%s' WHERE `uid` = %d LIMIT 1",
dbesc(hex2bin($pass)), dbesc(hex2bin($pass)),
intval(local_user()) intval(local_user())