diff options
author | Robin Appelman <robin@icewind.nl> | 2019-11-13 11:28:14 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2019-11-13 12:39:52 +0100 |
commit | 4c971811282564d57a5343a03548e729e1942b57 (patch) | |
tree | cfb8add593e4eec8aff9cadc96324d6229d1a99f /lib/private/Files | |
parent | b36f08be43c07dd9e253e4fa6ddcc9c392a9e591 (diff) | |
download | nextcloud-server-4c971811282564d57a5343a03548e729e1942b57.tar.gz nextcloud-server-4c971811282564d57a5343a03548e729e1942b57.zip |
filter out empty filecache extension values
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/Cache/Cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index f3081e7b18b..f1d2c64e8fd 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -441,7 +441,7 @@ class Cache implements ICache { $extensionParams[$name] = $value; } } - return [$params, $extensionParams]; + return [$params, array_filter($extensionParams)]; } /** |