From 03abbe53ee6bc4ffde411a6560501d57381b1561 Mon Sep 17 00:00:00 2001 From: Jarrod Linahan Date: Mon, 26 Nov 2018 07:06:24 +1100 Subject: [PATCH] Type error - Fixes #4 --- src/whois.gtld.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/whois.gtld.php b/src/whois.gtld.php index d5d5a77..83dfd63 100644 --- a/src/whois.gtld.php +++ b/src/whois.gtld.php @@ -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']);