Skip to content
Snippets Groups Projects
Commit b4d97c01 authored by Karl Shea's avatar Karl Shea
Browse files

Null coalesce

parent 20668af5
No related branches found
No related tags found
1 merge request!27Check for blazies in withViewsField before trying to call set()
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment