Fix 500 error

This commit is contained in:
Philipp 2025-05-11 11:23:25 +02:00
parent a4d4e199c1
commit 3a257b6172
No known key found for this signature in database
GPG key ID: 24A7501396EB5432

View file

@ -3282,7 +3282,7 @@ class Item
}
$dom = new \DOMDocument();
if (!@$dom->loadHTML($html)) {
if (empty ($html) || !@$dom->loadHTML($html)) {
return $html;
}