Skip to content
Snippets Groups Projects
Unverified Commit 9ac15bc4 authored by blizzz's avatar blizzz Committed by GitHub
Browse files

Merge pull request #16813 from compagnon/fix/noid/AutoloadNotAllowedException-theming-off

autoloader.php could raise Not AllowedException
parents 1d782aa1 0516675a
No related branches found
No related tags found
No related merge requests found
......@@ -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') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment