mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #16813 from compagnon/fix/noid/AutoloadNotAllowedException-theming-off
autoloader.php could raise Not AllowedException
This commit is contained in:
commit
9ac15bc4e9
1 changed files with 2 additions and 0 deletions
|
|
@ -113,6 +113,8 @@ class TemplateLayout extends \OC_Template {
|
|||
$this->assign('themingInvertMenu', $util->invertTextColor(\OC::$server->getThemingDefaults()->getColorPrimary()));
|
||||
} catch (\OCP\AppFramework\QueryException $e) {
|
||||
$this->assign('themingInvertMenu', false);
|
||||
} catch (\OCP\AutoloadNotAllowedException $e) {
|
||||
$this->assign('themingInvertMenu', false);
|
||||
}
|
||||
|
||||
} else if ($renderAs === 'error') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue