mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-21 10:06:05 +02:00
Many fixes in epp create, renew, transfer
This commit is contained in:
parent
dd6ec728cc
commit
67f9651a8a
4 changed files with 32 additions and 9 deletions
|
@ -835,6 +835,7 @@ function processDomainTransfer($conn, $db, $xml, $clid, $database_type, $trans)
|
|||
}
|
||||
|
||||
if ($period_unit) {
|
||||
$period_unit = strtolower($period_unit);
|
||||
if (!in_array($period_unit, ['m', 'y'])) {
|
||||
sendEppError($conn, $db, 2004, 'domain:period unit m|y', $clTRID, $trans);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue