From 6bb091b0f107bb2f7d1cbeffa6c4cea4b9915a04 Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Tue, 22 Aug 2023 13:03:51 +0300 Subject: [PATCH] Further work on identica epp extension --- epp/src/epp-create.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/epp/src/epp-create.php b/epp/src/epp-create.php index fa410f7..24fa213 100644 --- a/epp/src/epp-create.php +++ b/epp/src/epp-create.php @@ -304,11 +304,11 @@ function processContactCreate($conn, $db, $xml, $clid, $database_type) { } } - $obj_ext = $xml->xpath('//identExt:create')[0] ?? null; + $obj_ext = $xml->xpath('//identica:create')[0] ?? null; if ($obj_ext) { - $nin = (string)$obj_ext->xpath('identExt:nin')[0] ?? ''; - $nin_type = (string)$obj_ext->xpath('identExt:nin/@type')[0] ?? ''; + $nin = (string)$obj_ext->xpath('identica:nin')[0] ?? ''; + $nin_type = (string)$obj_ext->xpath('identica:nin/@type')[0] ?? ''; if (!preg_match('/\d/', $nin)) { sendEppError($conn, 2005, 'NIN should contain one or more numbers');