Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.10.0, 3.9.4, 4.0.0
-
None
Description
From http://pubsvn.ez.no/nextgen/trunk/doc/features/3.9/to_from_string_datatype_functionality.txt:
ezprice
'|' separated list of price, VAT id, and flag wether VAT is included to the price or not.
in eZPriceType::fromString(...):
$priceData = explode( '|', $string ); ... $dataText = $priceData[1] . ',' . $priceData[1]; $price = $priceData[0]; $contentObjectAttribute->setAttribute( "data_float", $price ); $contentObjectAttribute->setAttribute( 'data_text', $dataText );
$dataText = $priceData[1] . ',' . $priceData[1]; should be:
$dataText = $priceData[1] . ',' . $priceData[2];