diff --git a/modules/backend/traits/SelectableWidget.php b/modules/backend/traits/SelectableWidget.php index f3d41caee..78e76afa9 100644 --- a/modules/backend/traits/SelectableWidget.php +++ b/modules/backend/traits/SelectableWidget.php @@ -37,10 +37,10 @@ trait SelectableWidget protected function extendSelection() { - $items = Input::get($this->selectionInputName, []); + $items = (array) Input::get($this->selectionInputName, []); $currentSelection = $this->getSelectedItems(); - $this->putSession('selected', array_merge($currentSelection, $items)); + $this->putSession('selected', $currentSelection + $items); } protected function resetSelection()