Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pwa
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
pwa
Merge requests
!62
Fix for PHP 8 compatibility.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix for PHP 8 compatibility.
issue/pwa-3305141:3305141-php8-compatibility.-valueerror
into
7.x-1.x
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Sidharth Soman
requested to merge
issue/pwa-3305141:3305141-php8-compatibility.-valueerror
into
7.x-1.x
1 year ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
Closes
#3305141
0
0
Merge request reports
Compare
7.x-1.x
version 1
e4e368ed
1 year ago
7.x-1.x (base)
and
latest version
latest version
e4e368ed
1 commit,
3 months ago
version 1
e4e368ed
1 commit,
1 year ago
1 file
+
3
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
pwa.module
+
3
−
0
Options
@@ -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