mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
parent
c2b9342aa2
commit
5f31f36a17
@ -46,7 +46,7 @@ class UserFormsCheckboxSetField extends CheckboxSetField {
|
||||
|
||||
$previous = $value = $this->Value();
|
||||
|
||||
if (strstr($value, ",")) {
|
||||
if (is_string($value) && strstr($value, ",")) {
|
||||
$value = explode(",", $value);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user