Skip to content

Commit 3a2be7e

Browse files
authored
bugfix - OptionItem - set Weight to Decimal (#324)
1 parent 4bdd9a2 commit 3a2be7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/objects/OptionItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class OptionItem extends DataObject
1010
*/
1111
private static $db = array(
1212
'Title' => 'Text',
13-
'WeightModifier' => 'Int',
13+
'WeightModifier' => 'Decimal',
1414
'CodeModifier' => 'Text',
1515
'PriceModifier' => 'Currency',
1616
'WeightModifierAction' => "Enum('Add,Subtract,Set','Add')",

0 commit comments

Comments
 (0)