X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FProtocol%2FDiaspora.php;h=70fd0f1f8d9acb06f8d66d6bb21f922c7fa7a140;hb=aacaa3c2cf7ac4189ae6b41701d66ee3cd7f8535;hp=71726534d0d737ebef2a7b1bd833ef87fc8018c8;hpb=3842f02b021f2f32dbe6707c22af5760c3353dfa;p=friendica.git diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 71726534d0..70fd0f1f8d 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -4101,10 +4101,10 @@ class Diaspora 'author-id' => $author, 'owner-id' => $author, 'body' => $post, - 'allow_cid' => $owner['allow_cid'], - 'allow_gid' => $owner['allow_gid'], - 'deny_cid' => $owner['deny_cid'], - 'deny_gid' => $owner['deny_gid'], + 'allow_cid' => $owner['allow_cid'] ?? '', + 'allow_gid' => $owner['allow_gid']?? '', + 'deny_cid' => $owner['deny_cid'] ?? '', + 'deny_gid' => $owner['deny_gid'] ?? '', ]; if (!empty($item['allow_cid'] . $item['allow_gid'] . $item['deny_cid'] . $item['deny_gid'])) {