aboutsummaryrefslogtreecommitdiffstats
path: root/mod/post.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-15 16:04:59 -0800
committerfriendica <info@friendica.com>2015-02-15 16:04:59 -0800
commit0249fbb7e6da9de47fb3c091db4e4e296330993a (patch)
treed61a4fb287f369d83027540dc6dd8bedd140c631 /mod/post.php
parent0d9508d5ef929be1da10e2e8c30d755c96f5e160 (diff)
downloadvolse-hubzilla-0249fbb7e6da9de47fb3c091db4e4e296330993a.tar.gz
volse-hubzilla-0249fbb7e6da9de47fb3c091db4e4e296330993a.tar.bz2
volse-hubzilla-0249fbb7e6da9de47fb3c091db4e4e296330993a.zip
lost ability to delete events
Diffstat (limited to 'mod/post.php')
-rw-r--r--mod/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/post.php b/mod/post.php
index c90997335..6e35632da 100644
--- a/mod/post.php
+++ b/mod/post.php
@@ -467,7 +467,7 @@ function post_post(&$a) {
* tells us we need to unencapsulate the AES-256-CBC content using the site private key
*/
- if(array_key_exists('iv',$data)) {
+ if($data && array_key_exists('iv',$data)) {
$encrypted_packet = true;
$data = crypto_unencapsulate($data,get_config('system','prvkey'));
logger('mod_zot: decrypt1: ' . $data, LOGGER_DATA);