Small fixes around roids

This commit is contained in:
Pinga 2024-03-06 01:01:52 +02:00
parent e0f77397d8
commit 93f1cd7674
6 changed files with 24 additions and 23 deletions

View file

@ -64,7 +64,7 @@ function processContactInfo($conn, $db, $xml, $trans) {
'resultCode' => 1000,
'msg' => 'Command completed successfully',
'id' => $contact['id'],
'roid' => 'C' . $contact['identifier'],
'roid' => 'C' . $contact['id'],
'status' => $statusArray,
'postal' => $postalArray,
'voice' => $contact['voice'],
@ -82,7 +82,7 @@ function processContactInfo($conn, $db, $xml, $trans) {
$epp = new EPP\EppWriter();
$xml = $epp->epp_writer($response);
updateTransaction($db, 'info', 'contact', 'C_'.$contact['identifier'], 1000, 'Command completed successfully', $svTRID, $xml, $trans);
updateTransaction($db, 'info', 'contact', 'C_'.$contact['id'], 1000, 'Command completed successfully', $svTRID, $xml, $trans);
sendEppResponse($conn, $xml);
} catch (PDOException $e) {