Skip to content

Commit a57af3d

Browse files
committed
Bugfix
1 parent 9be3874 commit a57af3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/studio/theme.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
$pattern = '/Theme Name:.*/';
3737
preg_match($pattern, $text, $matches, PREG_OFFSET_CAPTURE);
3838
$themeName = substr($matches[0][0],12);}
39-
echo '<option value="'.$page->theme.'" selected>'.$themeName.'</option>';} ?>
39+
if(isset($themeName)){echo '<option value="'.$page->theme.'" selected>'.$themeName.'</option>';}} ?>
4040
<?php echo '<option value="default"'; if($page->theme == "default" or $page->theme == ""){echo 'selected';} echo '>Default</option>'; ?>
4141
</select>
4242
</div>

0 commit comments

Comments
 (0)