From 0b0834c873b1642bd2d7becfa9874ecd80a1a57f Mon Sep 17 00:00:00 2001 From: Jyrki Lilja Date: Tue, 4 Jun 2013 08:20:03 +0300 Subject: [PATCH] BUG: Fix radio field with " in Title. --- code/model/formfields/EditableRadioField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/formfields/EditableRadioField.php b/code/model/formfields/EditableRadioField.php index 4ccaa98..e9c951a 100755 --- a/code/model/formfields/EditableRadioField.php +++ b/code/model/formfields/EditableRadioField.php @@ -19,7 +19,7 @@ class EditableRadioField extends EditableMultipleOptionField { if($optionSet) { foreach( $optionSet as $option ) { - $options[$option->Title] = $option->Title; + $options[$option->EscapedTitle] = $option->Title; } }