mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: remove remarks field for IANA entities
This commit is contained in:
@@ -509,7 +509,7 @@ readonly class RDAPService
|
||||
|
||||
$entity->setHandle($rdapEntity['handle']);
|
||||
|
||||
if (array_key_exists('remarks', $rdapEntity) && is_array($rdapEntity['remarks']) && !in_array($rdapEntity['handle'], self::IANA_RESERVED_IDS)) {
|
||||
if (array_key_exists('remarks', $rdapEntity) && is_array($rdapEntity['remarks']) && !is_int($rdapEntity['handle'])) {
|
||||
$entity->setRemarks($rdapEntity['remarks']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user