Fixed issue with launch phase name

This commit is contained in:
Pinga 2025-03-14 17:31:58 +02:00
parent f942607363
commit 8dc01d65d0
2 changed files with 9 additions and 0 deletions

View file

@ -634,6 +634,10 @@ function processDomainCreate($conn, $db, $xml, $clid, $database_type, $trans, $m
} elseif ($launch_phase === 'landrush') {
// Continue
} elseif ($launch_phase === 'custom') {
if (empty($launch_phase_name)) {
sendEppError($conn, $db, 2003, 'Missing required element: A phase name is mandatory for the custom phase.', $clTRID, $trans);
return;
}
// Continue
} else {
// Mixed or unsupported form