fixed some warning when ip is banned

This commit is contained in:
sparc 2003-09-09 16:42:37 +00:00
parent 5cfd77329b
commit 23675afae3

View file

@ -52,10 +52,15 @@ class domainbank extends gtld {
);
$r = get_blocks($data_str,$items);
$r["owner"] = get_contact($r["owner"]);
$r["admin"] = get_contact($r["admin"]);
$r["tech"] = get_contact($r["tech"]);
$r["zone"] = get_contact($r["zone"]);
if (isset($r["owner"]))
$r["owner"] = get_contact($r["owner"]);
if (isset($r["admin"]))
$r["admin"] = get_contact($r["admin"]);
if (isset($r["tech"]))
$r["tech"] = get_contact($r["tech"]);
if (isset($r["zone"]))
$r["zone"] = get_contact($r["zone"]);
return($r);
}
}