File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11# Release Notes for Shopify
22
3+ ## Unreleased
4+
5+ - Fixed a PHP error that could occur when contextual pricing countries aren’t set. ([ #191 ] ( https://github.com/craftcms/shopify/issues/191 ) )
6+
37## 6.1.2 - 2025-12-08
48
59- Fixed a bug where syncing queue jobs could run indefinitely. ([ #189 ] ( https://github.com/craftcms/shopify/issues/189 ) )
Original file line number Diff line number Diff line change @@ -241,7 +241,9 @@ public function setContextualPricingCountries(string $contextualPricingCountries
241241 */
242242 public function getContextualPricingCountries (bool $ parse = true ): string
243243 {
244- return ($ parse ? StringHelper::toUpperCase (App::parseEnv ($ this ->_contextualPricingCountries )) : $ this ->_contextualPricingCountries ) ?? '' ;
244+ $ parsedValue = App::parseEnv ($ this ->_contextualPricingCountries ) ?? '' ;
245+
246+ return ($ parse ? StringHelper::toUpperCase ($ parsedValue ) : $ this ->_contextualPricingCountries ) ?? '' ;
245247 }
246248
247249 /**
You can’t perform that action at this time.
0 commit comments