diff --git a/plugins/server/lib/project-manager-favicon.cronjob.php b/plugins/server/lib/project-manager-favicon.cronjob.php index ecd6956..2477541 100644 --- a/plugins/server/lib/project-manager-favicon.cronjob.php +++ b/plugins/server/lib/project-manager-favicon.cronjob.php @@ -76,7 +76,9 @@ public function getFavicon ($url) { if (!$dom) { // $error[]='Error parsing the DOM of the file'; } else { - $domxml = simplexml_import_dom($dom); + + if (!is_null($dom->baseURI)) + $domxml = simplexml_import_dom($dom); if ($domxml) {