// Fixed taxes in localization packs

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17576 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-09-27 08:03:01 +00:00
parent 1b1acba4cd
commit e9c0150146
+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;