Commit c691be6b authored by Franco Fichtner's avatar Franco Fichtner

ipsec: fix crash report

parent 31fdebee
......@@ -928,7 +928,8 @@ endforeach; ?>
<td width="78%" class="vtable">
<select name="caref" class="formselect">
<?php
foreach ($config['ca'] as $ca) :
$config__ca = isset($config['ca']) ? $config['ca'] : array();
foreach ($config__ca as $ca) :
$selected = "";
if ($pconfig['caref'] == $ca['refid']) {
$selected = "selected=\"selected\"";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment