aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/templatelayout.php
diff options
context:
space:
mode:
authorRemco Brenninkmeijer <requist1@starmail.nl>2014-09-17 18:02:18 +0200
committerRemco Brenninkmeijer <requist1@starmail.nl>2014-09-17 18:02:18 +0200
commitf930b356e64a86ba162f55f04d458c344865a927 (patch)
treed2a1f6af56dcb9e1b4fc7f6f92e088ff03c2e0e8 /lib/private/templatelayout.php
parentef0a0f5f87f88ff19d6f2234f7669914881e8b1a (diff)
downloadnextcloud-server-f930b356e64a86ba162f55f04d458c344865a927.tar.gz
nextcloud-server-f930b356e64a86ba162f55f04d458c344865a927.zip
Error needs to push body-id for new guest layout
Diffstat (limited to 'lib/private/templatelayout.php')
-rw-r--r--lib/private/templatelayout.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php
index 1de47ded3b3..7ac0bd97abe 100644
--- a/lib/private/templatelayout.php
+++ b/lib/private/templatelayout.php
@@ -61,6 +61,7 @@ class OC_TemplateLayout extends OC_Template {
$this->assign('enableAvatars', \OC_Config::getValue('enable_avatars', true));
} else if ($renderas == 'error') {
parent::__construct('core', 'layout.guest', '', false);
+ $this->assign('bodyid', 'body-login');
} else if ($renderas == 'guest') {
parent::__construct('core', 'layout.guest');
$this->assign('bodyid', 'body-login');