Fixed issue where empty keywords field would be passed to array functions as a string.

This commit is contained in:
davidjeliba 2015-08-27 11:25:58 +10:00
parent 128f06a692
commit 54895965e8

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) {