Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
blazy
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
blazy
Commits
b4d97c01
Commit
b4d97c01
authored
9 months ago
by
Karl Shea
Browse files
Options
Downloads
Patches
Plain Diff
Null coalesce
parent
20668af5
No related branches found
No related tags found
1 merge request
!27
Check for blazies in withViewsField before trying to call set()
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Theme/BlazyViews.php
+1
-2
1 addition, 2 deletions
src/Theme/BlazyViews.php
with
1 addition
and
2 deletions
src/Theme/BlazyViews.php
+
1
−
2
View file @
b4d97c01
...
...
@@ -110,8 +110,7 @@ class BlazyViews {
$plugin_id
=
$view
->
getStyle
()
->
getPluginId
();
$settings
=
$blazy
->
mergedSettings
;
if
(
isset
(
$settings
[
'blazies'
]))
{
$blazies
=
$settings
[
'blazies'
];
if
(
$blazies
=
$settings
[
'blazies'
]
??
NULL
)
{
$blazies
->
set
(
'unlazy'
,
FALSE
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment