Commit 94bbce4b authored by Franco Fichtner's avatar Franco Fichtner

ipsec: fix crash report

parent 00667b9e
...@@ -929,7 +929,8 @@ endforeach; ?> ...@@ -929,7 +929,8 @@ endforeach; ?>
<td width="78%" class="vtable"> <td width="78%" class="vtable">
<select name="caref" class="formselect"> <select name="caref" class="formselect">
<?php <?php
foreach ($config['ca'] as $ca) : $config__ca = isset($config['ca']) ? $config['ca'] : array();
foreach ($config__ca as $ca) :
$selected = ""; $selected = "";
if ($pconfig['caref'] == $ca['refid']) { if ($pconfig['caref'] == $ca['refid']) {
$selected = "selected=\"selected\""; $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