[*] BO: Add an option to choose to not import the behavior of taxes displaying for the groups in localization pack import

This commit is contained in:
Rémi Gaillard
2013-10-23 18:22:53 +02:00
parent b38073ad72
commit e1887425fa
3 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -930,7 +930,7 @@ class ValidateCore
*/
public static function isLocalizationPackSelection($data)
{
return ($data === 'states' || $data === 'taxes' || $data === 'currencies' || $data === 'languages' || $data === 'units');
return in_array((string)$data, array('states', 'taxes', 'currencies', 'languages', 'units', 'groups'));
}
/**