aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-21 00:27:35 -0700
committerFriendika <info@friendika.com>2011-04-21 00:27:35 -0700
commit0803abcf538d6a2b79541edb3e78bb8a1f400f49 (patch)
tree26f5367ee73c2535b028cb63ed0de7116573ebd0
parenta1ef8f669d41908e5d457ffe2ab2ac0455fec037 (diff)
downloadvolse-hubzilla-0803abcf538d6a2b79541edb3e78bb8a1f400f49.tar.gz
volse-hubzilla-0803abcf538d6a2b79541edb3e78bb8a1f400f49.tar.bz2
volse-hubzilla-0803abcf538d6a2b79541edb3e78bb8a1f400f49.zip
typo
-rw-r--r--mod/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 95b622c4e..0ccc0c8cf 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -95,7 +95,7 @@ function settings_post(&$a) {
}
if(strlen($mail_pass)) {
$pass = '';
- openssl(private_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",
dbesc(hex2bin($pass)),
intval(local_user())