Skip to content

Commit

Permalink
https://github.com/thehcginstitute-com/m1/issues/641
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jun 8, 2024
1 parent 4a99de6 commit 34e3123
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/code/local/HCG/MailChimp/Cfg.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ final class Cfg {
* "Refactor the `Ebizmarts_MailChimp` module": https://github.com/thehcginstitute-com/m1/issues/524
* @used-by hcg_mc_cfg_scope()
*/
static function isExtraEntry(C $config, $scope, $scopeId, $websiteId):bool {
static function isExtraEntry(C $c, $scope, $scopeId, $websiteId):bool {
$h = hcg_mc_h();
return $h->isNotDefaultScope($config)
&& ($h->isIncorrectScope($config, $scope)
|| $h->isDifferentWebsite($config, $scope, $websiteId)
|| $h->isDifferentStoreView($config, $scope, $scopeId));
return $h->isNotDefaultScope($c)
&& ($h->isIncorrectScope($c, $scope)
|| $h->isDifferentWebsite($c, $scope, $websiteId)
|| $h->isDifferentStoreView($c, $scope, $scopeId));
}
}

0 comments on commit 34e3123

Please sign in to comment.