summaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-07-13 22:31:07 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-07-19 00:10:46 +0200
commit2ebafb06fdef6aad4bc32316ece14faa60f9e9c4 (patch)
treed74e544be9826b914de1458a99027cfd52a097a4 /lib/private/TemplateLayout.php
parent1f1504e071d38dffd274cd9b4123d2093a6beb3e (diff)
downloadnextcloud-server-2ebafb06fdef6aad4bc32316ece14faa60f9e9c4.tar.gz
nextcloud-server-2ebafb06fdef6aad4bc32316ece14faa60f9e9c4.zip
Properly handle if the deps file if for some reason empty
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index f7bb23cd3de..9e9ec709cf5 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -243,7 +243,8 @@ class TemplateLayout extends \OC_Template {
\OC::$server->getAppDataDir('js'),
\OC::$server->getURLGenerator(),
\OC::$server->getMemCacheFactory()->create('JS'),
- \OC::$server->getSystemConfig()
+ \OC::$server->getSystemConfig(),
+ \OC::$server->getLogger()
)
);
$locator->find($scripts);