aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-08-24 09:35:21 +0200
committermarijus <mario@mariovavti.com>2014-08-24 09:35:21 +0200
commitf991ca8df127dd90e12c00b5d39e22603e4e425a (patch)
tree68518e3c2b71ba9d7cb1ebfa06a4484f3d1e5bcd /mod/item.php
parent8d382a9394a1b3b32fcd40553add9520e076ab68 (diff)
parent9b524c9bc4553a82b98f46e4c4804d76ee1495f2 (diff)
downloadvolse-hubzilla-f991ca8df127dd90e12c00b5d39e22603e4e425a.tar.gz
volse-hubzilla-f991ca8df127dd90e12c00b5d39e22603e4e425a.tar.bz2
volse-hubzilla-f991ca8df127dd90e12c00b5d39e22603e4e425a.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/item.php b/mod/item.php
index 27691eb4f..df51c8a92 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -768,9 +768,9 @@ function item_post(&$a) {
$key = get_config('system','pubkey');
$datarray['item_flags'] = $datarray['item_flags'] | ITEM_OBSCURED;
if($datarray['title'])
- $datarray['title'] = json_encode(aes_encapsulate($datarray['title'],$key));
+ $datarray['title'] = json_encode(crypto_encapsulate($datarray['title'],$key));
if($datarray['body'])
- $datarray['body'] = json_encode(aes_encapsulate($datarray['body'],$key));
+ $datarray['body'] = json_encode(crypto_encapsulate($datarray['body'],$key));
}
if($orig_post) {