From f44e98292be4a5aec555d0f60b934ce15bb79d83 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Thu, 27 Sep 2012 08:03:01 +0000 Subject: [PATCH] // Fixed taxes in localization packs --- classes/LocalizationPack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/LocalizationPack.php b/classes/LocalizationPack.php index d7629f809..1d0de4f59 100644 --- a/classes/LocalizationPack.php +++ b/classes/LocalizationPack.php @@ -156,7 +156,7 @@ class LocalizationPackCore $tax->rate = (float)$attributes['rate']; $tax->active = 1; - if ($error = $tax->validateFields(false, true) || $error = $tax->validateFieldsLang(false, true)) + if (($error = $tax->validateFields(false, true)) !== true || ($error = $tax->validateFieldsLang(false, true)) !== true) { $this->_errors[] = Tools::displayError('Invalid tax properties.').' '.$error; return false;