Merge pull request #38 from davidjeliba/master

Fixed issue where empty keywords field would be passed to array functions as a string
This commit is contained in:
Christopher Pitt 2015-08-27 13:28:59 +12:00
commit fc3e96a41b

View File

@ -177,7 +177,7 @@ class StringTagField extends DropdownField {
if($source instanceof DataObject) {
$name = $this->getName();
$value = $source->$name;
$value = explode(',', $source->$name);
}
if($source instanceof SS_List) {