Skip to content

Commit

Permalink
bugfix - OptionItem - set Weight to Decimal (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirish authored Oct 10, 2018
1 parent 4bdd9a2 commit 3a2be7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/objects/OptionItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class OptionItem extends DataObject
*/
private static $db = array(
'Title' => 'Text',
'WeightModifier' => 'Int',
'WeightModifier' => 'Decimal',
'CodeModifier' => 'Text',
'PriceModifier' => 'Currency',
'WeightModifierAction' => "Enum('Add,Subtract,Set','Add')",
Expand Down

0 comments on commit 3a2be7e

Please sign in to comment.