Skip to content
Snippets Groups Projects

Fix for PHP 8 compatibility.

1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -247,6 +247,9 @@ function _pwa_fetch_offline_page_resources($pages) {
$response = drupal_http_request(url($page, ['absolute' => TRUE]));
$dom = new DOMDocument();
if (empty($response->data)) {
continue;
}
@$dom->loadHTML($response->data);
$xpath = new DOMXPath($dom);
Loading