summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-03-26 17:13:17 +0000
committerErmal Luçi <eri@pfsense.org>2009-03-26 17:13:17 +0000
commit2064fb9dc3e62ff3f6c545ed5cb25a193607f76c (patch)
treea75309adf2e8198a7ea72bbc32a9a749a2ea5a02 /usr/local/www/firewall_virtual_ip.php
parent67763264c33c7ee677e9699eaebbf6e8246ccfde (diff)
downloadpfsense-2064fb9dc3e62ff3f6c545ed5cb25a193607f76c.zip
pfsense-2064fb9dc3e62ff3f6c545ed5cb25a193607f76c.tar.gz
Make sure that the item isset before checking.(part of PHP5 array handling)
Diffstat (limited to 'usr/local/www/firewall_virtual_ip.php')
-rwxr-xr-xusr/local/www/firewall_virtual_ip.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php
index 0835d5d..c1f212c 100755
--- a/usr/local/www/firewall_virtual_ip.php
+++ b/usr/local/www/firewall_virtual_ip.php
@@ -146,7 +146,7 @@ include("head.inc");
</tr>
<?php $i = 0; foreach ($a_vip as $vipent): ?>
<?php if($vipent['subnet'] <> "" or $vipent['range'] <> "" or
- $vipent['subnet_bits'] <> "" or $vipent['range']['from'] <> "" or $vipent['mode'] == "carpdev-dhcp"): ?>
+ $vipent['subnet_bits'] <> "" or (isset($vipent['range']['from']) && $vipent['range']['from'] <> "") or $vipent['mode'] == "carpdev-dhcp"): ?>
<tr>
<td class="listlr" ondblclick="document.location='firewall_virtual_ip_edit.php?id=<?=$i;?>';">
<?php if (($vipent['type'] == "single") || ($vipent['type'] == "network"))
OpenPOWER on IntegriCloud