We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9be3874 commit a57af3dCopy full SHA for a57af3d
resources/views/studio/theme.blade.php
@@ -36,7 +36,7 @@
36
$pattern = '/Theme Name:.*/';
37
preg_match($pattern, $text, $matches, PREG_OFFSET_CAPTURE);
38
$themeName = substr($matches[0][0],12);}
39
- echo '<option value="'.$page->theme.'" selected>'.$themeName.'</option>';} ?>
+ if(isset($themeName)){echo '<option value="'.$page->theme.'" selected>'.$themeName.'</option>';}} ?>
40
<?php echo '<option value="default"'; if($page->theme == "default" or $page->theme == ""){echo 'selected';} echo '>Default</option>'; ?>
41
</select>
42
</div>
0 commit comments