X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fitems.php;h=3868db40a29770b186d918baa3d0651706bfb568;hb=b2d17abc7b481321bcac0b6f995a6fc3703c99f3;hp=4cc10e628cd50ec95f56884f2c4b6e58f856e50e;hpb=c0cb1a194e0392233f3644557c8e4bcf84f5a686;p=friendica.git diff --git a/include/items.php b/include/items.php index 4cc10e628c..3868db40a2 100644 --- a/include/items.php +++ b/include/items.php @@ -42,7 +42,7 @@ function add_page_info_data(array $data, $no_photos = false) $data["type"] = "link"; } - $data["title"] = defaults($data, "title", ""); + $data["title"] = $data["title"] ?? ''; if ((($data["type"] != "link") && ($data["type"] != "video") && ($data["type"] != "photo")) || ($data["title"] == $data["url"])) { return "";