// Fixed taxes in localization packs

This commit is contained in:
dMetzger
2012-09-27 08:03:01 +00:00
parent 773c73c20f
commit f44e98292b
+1 -1
View File
@@ -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;