some handlers where not seeting rawdata
This commit is contained in:
parent
4983c9c45a
commit
8a66ee3610
3 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
2007/03/28
|
||||
- some handlers where not seeting rawdata
|
||||
|
||||
2007/03/19
|
||||
- Fixed nic.br ip handler detection
|
||||
|
||||
|
|
|
@ -84,7 +84,10 @@ if (isSet($_GET['query']))
|
|||
}
|
||||
else
|
||||
{
|
||||
$winfo= implode($whois->Query['errstr'],"\n<br></br>");
|
||||
if (isset($whois->Query['errstr']))
|
||||
$winfo = implode($whois->Query['errstr'],"\n<br></br>");
|
||||
else
|
||||
$winfo = 'Unexpected error';
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
@ -215,8 +215,14 @@ class WhoisClient {
|
|||
|
||||
// If we have a handler, post-process it with that
|
||||
if (isSet($this->Query['handler']))
|
||||
{
|
||||
$result = $this->Process($result,$deep_whois);
|
||||
|
||||
|
||||
// Handler may fortget to set rawdata
|
||||
if (!isset($result['rawdata']))
|
||||
$result['rawdata'] = $output;
|
||||
}
|
||||
|
||||
// Set whois server
|
||||
if (!isset($result['regyinfo']['whois']))
|
||||
$result['regyinfo']['whois'] = $this->Query['server'];
|
||||
|
|
Loading…
Reference in a new issue