From 527c297d7cc7ce5640750962671aa5a1efc636b4 Mon Sep 17 00:00:00 2001 From: yarik Date: Thu, 9 Mar 2017 13:35:12 +0200 Subject: [PATCH] Synonym shit fix --- common/modules/product/models/Product.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/modules/product/models/Product.php b/common/modules/product/models/Product.php index 3f02a79..385a6a3 100755 --- a/common/modules/product/models/Product.php +++ b/common/modules/product/models/Product.php @@ -337,10 +337,10 @@ ) ->one(); if ($taxOption) { - if (!empty( $taxOption->synonym )) { + if (!empty( $taxOption->value->synonym )) { $taxOption = $taxOption->synonym; } else { - $taxOption = $taxOption->value; + $taxOption = $taxOption->value->value; } $name .= $taxOption; } else { -- libgit2 0.21.4