Merge pull request #67 from 3Dgoo/bugfix/string-tag-field-null-passed

Fixing setValue null value bug
This commit is contained in:
Damian Mooyman 2015-12-14 11:47:54 +13:00
commit 05a1990f20
1 changed files with 4 additions and 0 deletions

View File

@ -223,6 +223,10 @@ class StringTagField extends DropdownField
$value = $source->column('ID');
}
if (is_null($value)) {
$value = array();
}
return parent::setValue(array_filter($value));
}