Skip to content

Commit

Permalink
Update ResultPlugin.php
Browse files Browse the repository at this point in the history
  • Loading branch information
magefan authored Oct 3, 2023
1 parent 02f6402 commit 4f0322f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Controller/ResultPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function aroundRenderResult(

$ignoredStrings = $this->scopeConfig->getValue(
'mfrocketjavascript/general/ignore_deferred_javascript_with',
\Magento\Store\Model\ScopeInterface::SCOPE_STORE);
\Magento\Store\Model\ScopeInterface::SCOPE_STORE) ?: '';
$ignoredStrings = explode("\n", str_replace("\r", "\n", $ignoredStrings));
foreach ($ignoredStrings as $key => $ignoredString) {
$ignoredString = trim($ignoredString);
Expand Down

0 comments on commit 4f0322f

Please sign in to comment.