mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
add isset (https://github.com/opnsense/core/issues/189)
This commit is contained in:
parent
d35ce90cbe
commit
9fe1b63553
@ -753,13 +753,14 @@ function dpdchkbox_change() {
|
||||
<td width="78%" class="vtable">
|
||||
<select name="certref" class="formselect">
|
||||
<?php
|
||||
if (isset($config['cert'])):
|
||||
foreach ($config['cert'] as $cert):
|
||||
$selected = "";
|
||||
if ($pconfig['certref'] == $cert['refid'])
|
||||
$selected = "selected=\"selected\"";
|
||||
?>
|
||||
<option value="<?=$cert['refid'];?>" <?=$selected;?>><?=$cert['descr'];?></option>
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; endif; ?>
|
||||
</select>
|
||||
<br />
|
||||
<span class="vexpl">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user