diff --git a/epp/src/epp-create.php b/epp/src/epp-create.php index c8d5299..ddb74b0 100644 --- a/epp/src/epp-create.php +++ b/epp/src/epp-create.php @@ -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);