From: Michael Date: Mon, 20 May 2024 14:49:36 +0000 (+0000) Subject: Fix: Undefined array key "host" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=92a7b65587d6c22f006018721aabdd22158bac15;p=friendica.git Fix: Undefined array key "host" --- diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 3324e690bf..c9296179ce 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -2119,7 +2119,7 @@ class BBCode private static function idnUrl(string $url): string { $parts = parse_url($url); - if (empty($parts)) { + if (empty($parts['host'])) { return $url; }