From 92a7b65587d6c22f006018721aabdd22158bac15 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 20 May 2024 14:49:36 +0000 Subject: [PATCH] Fix: Undefined array key "host" --- src/Content/Text/BBCode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }