Skip to content

Commit

Permalink
Merge pull request #20 from peterjaap/patch-1
Browse files Browse the repository at this point in the history
Fix for PHP 8.1
  • Loading branch information
experius-nl authored Apr 24, 2023
2 parents 8678bef + e965c9f commit 1be03d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function getModuleConfig($field = false, $group = false, $section = false
$group = ($group) ? $group : 'experius_address_lines';
$field = ($field) ? $field : 'enabled';
//var_dump("{$section}/{$group}/{$field}"); exit();die();
return $this->scopeConfig->getValue("{$section}/{$group}/{$field}", \Magento\Store\Model\ScopeInterface::SCOPE_STORE);
return $this->scopeConfig->getValue("{$section}/{$group}/{$field}", \Magento\Store\Model\ScopeInterface::SCOPE_STORE) ?? '';
}

public function isLineEnabled($lineNumber)
Expand Down

0 comments on commit 1be03d5

Please sign in to comment.