From: Michael Date: Tue, 2 Oct 2018 08:31:58 +0000 (+0000) Subject: Avoid notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d4f6261b8177d22e7bac1d7fdda24d73a360a74a;p=friendica.git Avoid notice --- diff --git a/src/Util/JsonLD.php b/src/Util/JsonLD.php index 2b6fac4ad4..ddf8d93533 100644 --- a/src/Util/JsonLD.php +++ b/src/Util/JsonLD.php @@ -64,6 +64,7 @@ class JsonLD $normalized = jsonld_normalize($jsonobj, array('algorithm' => 'URDNA2015', 'format' => 'application/nquads')); } catch (Exception $e) { + $normalized = false; logger('normalise error:' . print_r($e, true), LOGGER_DEBUG); }