From a57af3df96ef50d85e9e75a6d187c99af9df542f Mon Sep 17 00:00:00 2001
From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com>
Date: Tue, 6 Dec 2022 14:59:05 +0100
Subject: [PATCH] Bugfix
---
resources/views/studio/theme.blade.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/views/studio/theme.blade.php b/resources/views/studio/theme.blade.php
index 795d824..a8b1e2e 100644
--- a/resources/views/studio/theme.blade.php
+++ b/resources/views/studio/theme.blade.php
@@ -36,7 +36,7 @@
$pattern = '/Theme Name:.*/';
preg_match($pattern, $text, $matches, PREG_OFFSET_CAPTURE);
$themeName = substr($matches[0][0],12);}
- echo '';} ?>
+ if(isset($themeName)){echo '';}} ?>
theme == "default" or $page->theme == ""){echo 'selected';} echo '>Default'; ?>