diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-04 21:25:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-04 21:25:31 +0000 |
commit | 11c9bb94dbc1c4c0974adc6c9dfd95349fddd9a3 (patch) | |
tree | aeba1d6e496d2af7974582176b1228a240d048a3 /usr/local/www/services_dhcp.php | |
parent | c90ea5c10b930092990aa2172e66adc08033c6d9 (diff) | |
download | pfsense-11c9bb94dbc1c4c0974adc6c9dfd95349fddd9a3.zip pfsense-11c9bb94dbc1c4c0974adc6c9dfd95349fddd9a3.tar.gz |
Show item if mac or ip is defined.
Ticket #669
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index e34368e..daffa88 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'] <> ""): ?> + <?php if($mapent['mac'] <> "" or $mapent['ipaddr'] <> ""): ?> <tr> <td class="listlr" ondblclick="document.location='services_dhcp_edit.php?if=<?=$if;?>&id=<?=$i;?>';"> <?=htmlspecialchars($mapent['mac']);?> |