From: Michael Date: Sun, 20 May 2018 05:44:20 +0000 (+0000) Subject: Issue 4956: Don't fail during installation because of a missing theme configuration X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9d0ed1a2afb60d9e10d947d9a33a776e445319e6;p=friendica.git Issue 4956: Don't fail during installation because of a missing theme configuration --- 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(); }