mirror of
https://github.com/silverstripe/silverstripe-tagfield
synced 2024-10-22 11:05:32 +02:00
Fixed issue where empty keywords field would be passed to array functions as a string.
This commit is contained in:
parent
128f06a692
commit
54895965e8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user