Error needs to push body-id for new guest layout

This commit is contained in:
Remco Brenninkmeijer 2014-09-17 18:02:18 +02:00
parent ef0a0f5f87
commit f930b356e6

View file

@ -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');