From 9d0ed1a2afb60d9e10d947d9a33a776e445319e6 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 20 May 2018 05:44:20 +0000 Subject: [PATCH] Issue 4956: Don't fail during installation because of a missing theme configuration --- src/App.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.php b/src/App.php index 07e7767455..655ea84f00 100644 --- a/src/App.php +++ b/src/App.php @@ -1091,6 +1091,10 @@ class App */ public function getCurrentTheme() { + if ($this->mode == App::MODE_INSTALL) { + return ''; + } + if (!$this->current_theme) { $this->computeCurrentTheme(); } -- 2.39.5