The virtuel fields for the diaspora signatures have to be removed at any time

This commit is contained in:
Michael 2018-10-12 18:47:32 +00:00
parent 735a5980bd
commit 1b18be6715

View File

@ -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