Skip to content
Snippets Groups Projects
Commit e10c1acc authored by Dimitris Bozelos's avatar Dimitris Bozelos Committed by Jonathan Sacksick
Browse files

Issue #3316974: PriceItem field type does not filter available currencies stored in config.

parent 25197998
No related branches found
No related tags found
2 merge requests!235Issue #3115150 by mbovan: Submitting add to cart form with empty quantity...,!205Issue #3349465 by tBKoT, jsacksick, bojanz: Update several VAT rates and setup...
......@@ -127,6 +127,16 @@ class PriceItem extends FieldItemBase {
return $element;
}
/**
* {@inheritdoc}
*/
public static function fieldSettingsToConfigData(array $settings) {
$settings['available_currencies'] = array_filter(
$settings['available_currencies']
);
return $settings;
}
/**
* {@inheritdoc}
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment