mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Merge pull request #14926 from nupplaphil/fix/item_html_empy
Fix empty HTML content loading (500)
This commit is contained in:
commit
777fc8615c
1 changed files with 1 additions and 1 deletions
|
@ -3330,7 +3330,7 @@ class Item
|
|||
}
|
||||
|
||||
$dom = new \DOMDocument();
|
||||
if (!@$dom->loadHTML($html)) {
|
||||
if (empty($html) || !@$dom->loadHTML($html)) {
|
||||
return $html;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue