From 5bf7b4e70b047410cc4302d71857c72b9c0ae2d8 Mon Sep 17 00:00:00 2001 From: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> Date: Tue, 13 Sep 2022 17:30:36 +0100 Subject: [PATCH] Minor fix Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> --- app/system/traits/CombinesAssets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/system/traits/CombinesAssets.php b/app/system/traits/CombinesAssets.php index eb18bdb343..955c2dadb6 100644 --- a/app/system/traits/CombinesAssets.php +++ b/app/system/traits/CombinesAssets.php @@ -175,7 +175,7 @@ protected function prepareAssets(array $assets) return $this->getAssetPath($path); }, $assets); - return $assets; + return array_filter($assets); } protected function prepareCombiner(array $assets, $targetPath = null)