NOW MANAGED ON CODEBERG
PageContent return null issue
James Geiger7ef17bb39450
diff --git a/app/Entities/Tools/PageContent.php b/app/Entities/Tools/PageContent.phpindex e5ea454e7..51562e71f 100644--- a/app/Entities/Tools/PageContent.php+++ b/app/Entities/Tools/PageContent.php@@ -370,6 +370,6 @@ class PageContent$dom->loadHTML($htmlContent);$images = $dom->getElementsByTagName('img');- return $images[0]->getAttribute('src');+ return $images ? $images[0]->getAttribute('src') : null;}}