PHP 5.3 compatibility

This commit is contained in:
Roland Gruber 2009-10-04 18:11:50 +00:00
parent 16c6ab8b34
commit 079440dc97
1 changed files with 10 additions and 8 deletions

View File

@ -147,6 +147,7 @@ class lamDHCPList extends lamList {
// Now list all fixed_ips:
echo "<table border=\"0\" width=\"100%\">";
$this->fixed_ips = array();
if (isset($get)) {
foreach($get AS $id=>$arr) {
if (is_numeric($id)) {
echo "<tr>";
@ -156,6 +157,7 @@ class lamDHCPList extends lamList {
echo "</tr>";
}
}
}
echo "</table>";
}
}