File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,12 +60,15 @@ public function isEnabled()
6060
6161 public function includedParamsInRedirect ()
6262 {
63- return $ this ->scopeConfig ->getValue (self ::INCLUDED_PARAMS_REDIRECT ,\Magento \Store \Model \ScopeInterface::SCOPE_STORE );
63+ $ configValue = $ this ->scopeConfig ->getValue (self ::INCLUDED_PARAMS_REDIRECT ,\Magento \Store \Model \ScopeInterface::SCOPE_STORE );
64+ return $ configValue ? explode (', ' ,$ configValue ) : [];
6465 }
6566
6667 public function includedParamsInFromUrl ()
6768 {
68- return $ this ->scopeConfig ->getValue (self ::INCLUDED_PARAMS_FROM_URL ,\Magento \Store \Model \ScopeInterface::SCOPE_STORE );
69+ $ configValue = $ this ->scopeConfig ->getValue (self ::INCLUDED_PARAMS_FROM_URL ,\Magento \Store \Model \ScopeInterface::SCOPE_STORE );
70+ return $ configValue ? explode (', ' ,$ configValue ) : [];
71+
6972 }
7073
7174 public function getExcludeList ()
You can’t perform that action at this time.
0 commit comments