]> git.mxchange.org Git - friendica.git/commitdiff
typo
authorFriendika <info@friendika.com>
Thu, 21 Apr 2011 07:27:35 +0000 (00:27 -0700)
committerFriendika <info@friendika.com>
Thu, 21 Apr 2011 07:27:35 +0000 (00:27 -0700)
mod/settings.php

index 95b622c4ef48f67aecb460e2805f17294d2ab8f3..0ccc0c8cf08d4cfe39450840ff8c3dab624a8528 100644 (file)
@@ -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())