Type error - Fixes #4

This commit is contained in:
Jarrod Linahan 2018-11-26 07:06:24 +11:00
parent 20089f3bb3
commit 03abbe53ee

View file

@ -54,7 +54,7 @@ class gtld_handler extends WhoisClient
function parse($data, $query)
{
$this->Query = array();
$this->SUBVERSION = sprintf('%s-%s', $query['handler'], $this->HANDLER_VERSION);
$this->SUBVERSION = sprintf('%s-%s', get_class($this), $this->HANDLER_VERSION);
$this->result = generic_parser_b($data['rawdata'], $this->REG_FIELDS, 'dmy');
unset($this->result['registered']);