@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | public function loadTranslatedValues($countryID = 0, $variableOrMethod = '') |
| 57 | 57 | { |
| 58 | 58 | $translation = null; |
| 59 | - if (! $countryID) { |
|
| 59 | + if (!$countryID) { |
|
| 60 | 60 | $countryObject = CountryPrice_EcommerceCountry::get_real_country(); |
| 61 | 61 | if ($countryObject) { |
| 62 | 62 | $countryID = $countryObject->ID; |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | foreach ($fieldsToReplace as $replaceFields) { |
| 77 | 77 | $pageField = $replaceFields->PageField; |
| 78 | 78 | $translationField = $replaceFields->TranslationField; |
| 79 | - if (! $variableOrMethod || $variableOrMethod === $pageField) { |
|
| 79 | + if (!$variableOrMethod || $variableOrMethod === $pageField) { |
|
| 80 | 80 | if ($translation->hasMethod($translationField)) { |
| 81 | 81 | $pageFieldTranslated = $pageField.'Translated'; |
| 82 | 82 | $this->owner->$pageField = $translation->$translationField(); |