Skip to content

Commit d671204

Browse files
authored
Add missing quotes around selected option on line 75 (hestiacp#2659)
1 parent 50236a1 commit d671204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/templates/pages/edit_dns_rec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<tr>
7373
<td>
7474
<select class="vst-list" name="v_type">
75-
<option value="A" <?php if ($v_type == 'A') echo selected; ?>>A</option>
75+
<option value="A" <?php if ($v_type == 'A') echo "selected"; ?>>A</option>
7676
<option value="AAAA" <?php if ($v_type == 'AAAA') echo "selected"; ?>>AAAA</option>
7777
<option value="CAA" <?php if ($v_type == 'CAA') echo "selected"; ?>>CAA</option>
7878
<option value="CNAME" <?php if ($v_type == 'CNAME') echo "selected"; ?>>CNAME</option>

0 commit comments

Comments
 (0)