sforkowany z mirror/friendica
Issue 6438: Avoid fatal error
rodzic
72516191ef
commit
8b5b66838d
|
@ -95,7 +95,9 @@ class JsonLD
|
|||
|
||||
// Workaround for Nextcloud Social
|
||||
// See issue https://github.com/nextcloud/social/issues/330
|
||||
if (is_array($json['@context'])) {
|
||||
$json['@context'][] = 'https://w3id.org/security/v1';
|
||||
}
|
||||
|
||||
// Trying to avoid memory problems with large content fields
|
||||
if (!empty($json['object']['source']['content'])) {
|
||||
|
|
Ładowanie…
Reference in New Issue