mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-04 01:53:24 +02:00
Update epp-create.php
This commit is contained in:
parent
fdd4ecd1af
commit
1af5127cfb
1 changed files with 2 additions and 0 deletions
|
@ -687,6 +687,8 @@ function processDomainCreate($conn, $db, $xml, $clid, $database_type, $trans, $m
|
|||
$stmt->execute([$tld_id, $currentDate, $currentDate]);
|
||||
$phase_details = $stmt->fetchColumn();
|
||||
|
||||
$launch_phase = $launch_phase ?? null;
|
||||
|
||||
// Check if the phase requires application submission
|
||||
if (empty($launch_phase) && $launch_phase !== 'custom' && $phase_details === 'Application') {
|
||||
sendEppError($conn, $db, 2304, 'Domain registration is not allowed for this TLD. You must submit a new application instead.', $clTRID, $trans);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue