Contact ID validation improvements

This commit is contained in:
Pinga 2023-08-28 13:48:40 +03:00
parent 019fd891b3
commit dd6ec728cc
2 changed files with 13 additions and 8 deletions

View file

@ -5,7 +5,7 @@ function processContactCreate($conn, $db, $xml, $clid, $database_type, $trans) {
$clTRID = (string) $xml->command->clTRID;
if (!$contactID) {
sendEppError($conn, $db, 2003, 'Identifier type minLength value=3, maxLength value=16', $clTRID, $trans);
sendEppError($conn, $db, 2003, 'Please provide a contact ID', $clTRID, $trans);
return;
}