fixed PHP notice

This commit is contained in:
Roland Gruber 2013-09-14 15:31:50 +00:00
parent 784a42aa1a
commit 5c995a9773
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class lamDHCPList extends lamList {
if (isset($entry['dhcprange'])) {
echo"<table cellspacing=\"0\">";
foreach($entry['dhcprange'] AS $id=>$value) {
if (!is_numeric($value)) {
if (!empty($value) && !is_numeric($value)) {
$ex = explode(" ", $value);
echo "<tr><td>".$ex[0]."</td><td width=\"20\"><center>-</center></td><td>".$ex[1]."</td></tr>";
}