mirror of
https://github.com/silverstripe/silverstripe-tagfield
synced 2024-10-22 11:05:32 +02:00
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:
commit
fc3e96a41b
@ -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