]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_notify.php
Merge pull request #7962 from MrPetovan/bug/fatal-errors
[friendica.git] / mod / dfrn_notify.php
index 3d27593aaf51a6c93f93c01aa128b32364cc6166..efe785d63476dacf2f10f5485b1fd779aeb0540e 100644 (file)
@@ -214,7 +214,7 @@ function dfrn_dispatch_public($postdata)
 
 function dfrn_dispatch_private($user, $postdata)
 {
-       $msg = Diaspora::decodeRaw($postdata, $user);
+       $msg = Diaspora::decodeRaw($postdata, $user['prvkey'] ?? '');
        if (!$msg) {
                System::xmlExit(4, 'Unable to parse message');
        }