summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-03 03:00:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-03 03:00:28 +0000
commit79e481783d1905b4da1f9be093230a615d3a0971 (patch)
tree0381cbb0d820ff7e2dcf514a3b2b848eb28f6dc2
parentd5bdb230780554439111a3726a374abec72ee17e (diff)
downloadpfsense-79e481783d1905b4da1f9be093230a615d3a0971.zip
pfsense-79e481783d1905b4da1f9be093230a615d3a0971.tar.gz
<?php if($mapent['mac'] <> ""): ?> is preferred. Scolded by support forums.
-rwxr-xr-xusr/local/www/services_dhcp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index 90fee6b..e34368e 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -401,7 +401,7 @@ function enable_change(enable_over) {
</tr>
<?php if(is_array($a_maps)): ?>
<?php $i = 0; foreach ($a_maps as $mapent): ?>
- <?php if($mapent['mac'] <> "" and $mapent['ipaddr'] <> ""): ?>
+ <?php if($mapent['mac'] <> ""): ?>
<tr>
<td class="listlr" ondblclick="document.location='services_dhcp_edit.php?if=<?=$if;?>&id=<?=$i;?>';">
<?=htmlspecialchars($mapent['mac']);?>
OpenPOWER on IntegriCloud