From 30a6e9d7a09adda140b8310ac2053f45e294b762 Mon Sep 17 00:00:00 2001 From: yarik Date: Thu, 9 Mar 2017 13:39:09 +0200 Subject: [PATCH] Synonym shit fix --- common/modules/product/models/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/product/models/Product.php b/common/modules/product/models/Product.php index 385a6a3..7fc06ba 100755 --- a/common/modules/product/models/Product.php +++ b/common/modules/product/models/Product.php @@ -337,7 +337,7 @@ ) ->one(); if ($taxOption) { - if (!empty( $taxOption->value->synonym )) { + if (!empty( $taxOption->synonym )) { $taxOption = $taxOption->synonym; } else { $taxOption = $taxOption->value->value; -- libgit2 0.21.4