Skip to content

Commit

Permalink
FIX: $empty is not an array
Browse files Browse the repository at this point in the history
This might be a documentation issue, but I couldn't figure out how to define the empty string as an array, so disabling for now.
  • Loading branch information
adrexia committed Sep 2, 2017
1 parent 1bdcb16 commit ef38924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/AdvancedDropdownField.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function Field($properties = array()) {
$empty = $this->getEmptyString();
$options[] = new ArrayData(array(
'Value' => '',
'Title' => $empty['Title'],
'Title' => $empty,
'Selected' => $selected,
'Disabled' => $disabled,
'Attributes' => $this->createOptionAttributes($empty)
Expand Down

0 comments on commit ef38924

Please sign in to comment.