Commit 30a6e9d7a09adda140b8310ac2053f45e294b762
1 parent
527c297d
Synonym shit fix
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
common/modules/product/models/Product.php
@@ -337,7 +337,7 @@ | @@ -337,7 +337,7 @@ | ||
337 | ) | 337 | ) |
338 | ->one(); | 338 | ->one(); |
339 | if ($taxOption) { | 339 | if ($taxOption) { |
340 | - if (!empty( $taxOption->value->synonym )) { | 340 | + if (!empty( $taxOption->synonym )) { |
341 | $taxOption = $taxOption->synonym; | 341 | $taxOption = $taxOption->synonym; |
342 | } else { | 342 | } else { |
343 | $taxOption = $taxOption->value->value; | 343 | $taxOption = $taxOption->value->value; |