From: Michael Date: Fri, 12 Oct 2018 18:47:32 +0000 (+0000) Subject: The virtuel fields for the diaspora signatures have to be removed at any time X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b18be671523c8ea85ecab8e5e1c5025e91c53e0;p=friendica.git The virtuel fields for the diaspora signatures have to be removed at any time --- diff --git a/src/Model/Item.php b/src/Model/Item.php index c0c67352e4..fe7757a46f 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1292,15 +1292,15 @@ class Item extends BaseObject if (x($item, 'dsprsig')) { $encoded_signature = $item['dsprsig']; $dsprsig = json_decode(base64_decode($item['dsprsig'])); - unset($item['dsprsig']); } + unset($item['dsprsig']); if (!empty($item['diaspora_signed_text'])) { $diaspora_signed_text = $item['diaspora_signed_text']; - unset($item['diaspora_signed_text']); } else { $diaspora_signed_text = ''; } + unset($item['diaspora_signed_text']); // Converting the plink /// @TODO Check if this is really still needed