mirror of
https://github.com/typemill/typemill.git
synced 2025-08-06 22:26:32 +02:00
v2.2.2 fix error if theme setting is string
This commit is contained in:
@@ -49,7 +49,7 @@ class Extension
|
||||
foreach($themes as $themename)
|
||||
{
|
||||
$themeinputs = [];
|
||||
if(isset($themesInSettings[$themename]))
|
||||
if(isset($themesInSettings[$themename]) && is_array($themesInSettings[$themename]))
|
||||
{
|
||||
$themeinputs = $themesInSettings[$themename];
|
||||
}
|
||||
|
Reference in New Issue
Block a user