mirror of
https://github.com/nextcloud/server.git
synced 2024-09-01 05:57:11 +02:00
Merge pull request #4131 from nextcloud/fix-jscombiner
Fix check for cache value in JSCombiner
This commit is contained in:
commit
cbe44043be
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user