mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-31 23:06:10 +02:00
Further precision fix
This commit is contained in:
parent
db3b19e116
commit
db64250093
1 changed files with 6 additions and 1 deletions
|
@ -945,7 +945,12 @@ function processHostUpdate($conn, $db, $xml, $clid, $database_type, $trans) {
|
|||
$chg_clid = $stmt->fetchColumn();
|
||||
$stmt->closeCursor();
|
||||
|
||||
if ($chg_clid !== false && $chg_clid !== $clid) {
|
||||
if ($chg_clid === false) {
|
||||
sendEppError($conn, $db, 2303, 'Superordinate domain does not exist: ' . $chg_domain, $clTRID, $trans);
|
||||
return;
|
||||
}
|
||||
|
||||
if ($chg_clid !== $clid) {
|
||||
sendEppError($conn, $db, 2304, 'Host rename denied: domain owned by another registrar', $clTRID, $trans);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue