diff options
author | Habeas Codice <habeascodice@federated.social> | 2015-02-16 15:13:31 -0800 |
---|---|---|
committer | Habeas Codice <habeascodice@federated.social> | 2015-02-16 15:13:31 -0800 |
commit | d9d029470f188796988e002eb90e9dbf96d3dd29 (patch) | |
tree | ef922432ae326f358374535bf68492729134e49e /mod/post.php | |
parent | ca8e22101803454be60af35d2cf71ae80224805a (diff) | |
parent | 1d1676094dd82482f113d6de9c2a95407a1a692f (diff) | |
download | volse-hubzilla-d9d029470f188796988e002eb90e9dbf96d3dd29.tar.gz volse-hubzilla-d9d029470f188796988e002eb90e9dbf96d3dd29.tar.bz2 volse-hubzilla-d9d029470f188796988e002eb90e9dbf96d3dd29.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'mod/post.php')
-rw-r--r-- | mod/post.php | 2 |
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); |