summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-09-17 23:55:53 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-09-17 23:55:53 +0200
commit5030f14008bdad1cfdacf9ee934ec13d308060e3 (patch)
tree934b3a8dafb3358727bd2ad3a43d3075d122ecde
parent7db0d5512910e768912f615cb408677e38735d91 (diff)
parentf930b356e64a86ba162f55f04d458c344865a927 (diff)
downloadnextcloud-server-5030f14008bdad1cfdacf9ee934ec13d308060e3.tar.gz
nextcloud-server-5030f14008bdad1cfdacf9ee934ec13d308060e3.zip
Merge pull request #11136 from owncloud/fix_body_id
Error needs to push body-id for new guest layout
-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');