Skip to content

Commit 889fa3b

Browse files
committed
Update theme.blade.php
1 parent a57af3d commit 889fa3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/views/studio/theme.blade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
$themeName = substr($matches[0][0],12);
2929
}
3030
}
31-
if($page->theme != $entry){echo '<option value="'; print_r($entry); echo '">'; echo $themeName; echo '</option>'; }}}} ?>
31+
if($page->theme != $entry and isset($themeName)){echo '<option value="'; print_r($entry); echo '">'; echo $themeName; echo '</option>'; }}}} ?>
3232
<?php
3333
if($page->theme != "default" and $page->theme != ""){
3434
if(file_exists(base_path('themes') . '/' . $page->theme . '/readme.md')){
@@ -200,6 +200,7 @@
200200
}
201201
202202
$themeVe = NULL;
203+
if(!isset($verNr)){$verNr = "error";};
203204
204205
if ($entry != "." && $entry != "..") {
205206
echo '<tr>';

0 commit comments

Comments
 (0)