Commit 0a18a77f authored by Franco Fichtner's avatar Franco Fichtner

dashboard: fix via crash reporter

parent fad7184f
...@@ -64,7 +64,7 @@ function display_widget_tabs(& $tab_array) { ...@@ -64,7 +64,7 @@ function display_widget_tabs(& $tab_array) {
} }
$ipsec_detail_array = array();
if (isset($config['ipsec']['phase1'])) { if (isset($config['ipsec']['phase1'])) {
echo "<div>&nbsp;</div>\n"; echo "<div>&nbsp;</div>\n";
...@@ -82,7 +82,6 @@ if (isset($config['ipsec']['phase1'])) { ...@@ -82,7 +82,6 @@ if (isset($config['ipsec']['phase1'])) {
$activecounter = 0; $activecounter = 0;
$inactivecounter = 0; $inactivecounter = 0;
$ipsec_detail_array = array();
if (isset($config['ipsec']['phase2'])) { if (isset($config['ipsec']['phase2'])) {
foreach ($config['ipsec']['phase2'] as $ph2ent) { foreach ($config['ipsec']['phase2'] as $ph2ent) {
if ($ph2ent['remoteid']['type'] == "mobile") { if ($ph2ent['remoteid']['type'] == "mobile") {
......
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