diff --git a/src/Http/Controller/FilesController.php b/src/Http/Controller/FilesController.php index 739016f..f535c82 100644 --- a/src/Http/Controller/FilesController.php +++ b/src/Http/Controller/FilesController.php @@ -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(); } /**