diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2019-08-21 16:04:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 16:04:32 +0200 |
commit | 9ac15bc4e9d78c77d982bb017034c8ac1d8e4b54 (patch) | |
tree | 5973c3c8139588096c4887f48bf64b7268da0ba6 /lib | |
parent | 1d782aa13c33a5a9527fd372d462af0fb067f439 (diff) | |
parent | 0516675a5c055dd315ce98fa356e8669b46a1f7c (diff) | |
download | nextcloud-server-9ac15bc4e9d78c77d982bb017034c8ac1d8e4b54.tar.gz nextcloud-server-9ac15bc4e9d78c77d982bb017034c8ac1d8e4b54.zip |
Merge pull request #16813 from compagnon/fix/noid/AutoloadNotAllowedException-theming-off
autoloader.php could raise Not AllowedException
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/TemplateLayout.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index f23ec97119f..94b39e951a5 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -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') { |