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

autoloader.php could raise Not AllowedException
This commit is contained in:
blizzz 2019-08-21 16:04:32 +02:00 committed by GitHub
commit 9ac15bc4e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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