X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FJsonLD.php;h=2649e9073788147ef6e7117d1982892b501fbf53;hb=a98957eeb29cfb142dfc4cd3e03c5bdfbc373466;hp=878cd71e6a064ed72dccc460e1becabb16f393f5;hpb=586eddbd1a528022f3575cfcca1b7e7b39a06840;p=friendica.git diff --git a/src/Util/JsonLD.php b/src/Util/JsonLD.php index 878cd71e6a..2649e90737 100644 --- a/src/Util/JsonLD.php +++ b/src/Util/JsonLD.php @@ -175,10 +175,6 @@ class JsonLD */ public static function fetchElementArray($array, $element, $key = null) { - if (empty($array)) { - return null; - } - if (!isset($array[$element])) { return null; }