summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-09-03 07:45:44 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-09-03 07:45:44 -0300
commit7ec7e24f43d68f44c63c007074ef13887e925b0b (patch)
tree2532a62ed62a07aef85bdfb193c3d45a648f1e29
parent94528348956cc90502df86ba4827fa7621c070e6 (diff)
downloadpfsense-7ec7e24f43d68f44c63c007074ef13887e925b0b.zip
pfsense-7ec7e24f43d68f44c63c007074ef13887e925b0b.tar.gz
Remove uneeded variables
-rw-r--r--usr/local/www/vpn_ipsec.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index 83cef98..3a95663 100644
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -182,7 +182,6 @@ include("head.inc");
$spans = $spane = "";
show_ipsec_header($ph1ent);
- $counter++; // used to determine if we need to output header manually (no records exist)
?>
<tr valign="top" ondblclick="document.location='vpn_ipsec_phase1.php?p1index=<?=$i;?>'">
<td class="listlr">
@@ -422,7 +421,7 @@ include("head.inc");
<?php
$i++;
endforeach; // $a_phase1 as $ph1ent
- if(!$counter)
+ if($i === 0)
show_ipsec_header($ph1ent);
?>
<tr>
OpenPOWER on IntegriCloud