From 0249fbb7e6da9de47fb3c091db4e4e296330993a Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 15 Feb 2015 16:04:59 -0800 Subject: lost ability to delete events --- mod/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/post.php') 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); -- cgit v1.2.3