diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2017-04-03 11:27:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-03 11:27:39 +0200 |
commit | cbe44043be9436e4efac5dd9688345ae474feeb2 (patch) | |
tree | d568800498eae28f37e79218af2f51029489a10b /lib/private/Template/JSCombiner.php | |
parent | 47e342c730778d1e708c0afcf801581d6be02726 (diff) | |
parent | 51e5c0766ccead6619c7334b739672f56d7a2829 (diff) | |
download | nextcloud-server-cbe44043be9436e4efac5dd9688345ae474feeb2.tar.gz nextcloud-server-cbe44043be9436e4efac5dd9688345ae474feeb2.zip |
Merge pull request #4131 from nextcloud/fix-jscombiner
Fix check for cache value in JSCombiner
Diffstat (limited to 'lib/private/Template/JSCombiner.php')
-rw-r--r-- | lib/private/Template/JSCombiner.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/JSCombiner.php b/lib/private/Template/JSCombiner.php index 77c46a5e45e..604cd2cceb7 100644 --- a/lib/private/Template/JSCombiner.php +++ b/lib/private/Template/JSCombiner.php @@ -98,7 +98,7 @@ class JSCombiner { $fileName = str_replace('.json', '.js', $fileName) . '.deps'; try { $deps = $this->depsCache->get($folder->getName() . '-' . $fileName); - if ($deps === null) { + if ($deps === null || $deps === '') { $depFile = $folder->getFile($fileName); $deps = $depFile->getContent(); $this->depsCache->set($folder->getName() . '-' . $fileName, $deps); |