From 89922b58e9660949481f99c356d983014c2ca99f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 20 Oct 2016 08:51:27 +1300 Subject: [PATCH] Don't set OptionSetField to multiple vals It's a radiobutton based field, so multiple values don't make sense here --- code/BasicFieldsTestPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/BasicFieldsTestPage.php b/code/BasicFieldsTestPage.php index ed8b707..7b451aa 100644 --- a/code/BasicFieldsTestPage.php +++ b/code/BasicFieldsTestPage.php @@ -146,7 +146,7 @@ class BasicFieldsTestPage extends TestPage 'MyLabelledFieldGroup3' => 2, 'MyLabelledFieldGroupCheckbox' => true, 'Number' => 99, - 'OptionSet' => join(',', array($thirdCat->ID, $firstCat->ID)), + 'OptionSet' => $thirdCat->ID, 'Password' => 'My value (รค!)', 'PhoneNumber' => '021 1235', 'Price' => 99.99,