Skip to content

Commit

Permalink
Merge pull request #29 from spektra2147/patch-1
Browse files Browse the repository at this point in the history
filtered selected array
  • Loading branch information
RyanThompson authored Jun 7, 2023
2 parents 0abb5f9 + ba2e7bc commit a807678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controller/FilesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function choose(FolderRepositoryInterface $folders, $key)
*/
public function selected(ValueTableBuilder $table)
{
return $table->setUploaded(explode(',', $this->request->get('uploaded')))->make()->getTableContent();
return $table->setUploaded(array_filter(explode(',', $this->request->get('uploaded'))))->make()->getTableContent();
}

/**
Expand Down

0 comments on commit a807678

Please sign in to comment.