mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-21 10:06:05 +02:00
Update epp-update.php
This commit is contained in:
parent
8f92beda12
commit
db3b19e116
1 changed files with 13 additions and 13 deletions
|
@ -937,7 +937,6 @@ function processHostUpdate($conn, $db, $xml, $clid, $database_type, $trans) {
|
|||
$domain_id = $hostRow['domain_id'];
|
||||
$host_id = $hostRow['id'];
|
||||
|
||||
if ($domain_id !== null) {
|
||||
$tlds_scan = $db->query("SELECT tld FROM domain_tld")->fetchAll(PDO::FETCH_COLUMN);
|
||||
$chg_domain = extractDomainFromHost($chg_name, $tlds_scan);
|
||||
|
||||
|
@ -951,6 +950,7 @@ function processHostUpdate($conn, $db, $xml, $clid, $database_type, $trans) {
|
|||
return;
|
||||
}
|
||||
|
||||
if ($domain_id !== null) {
|
||||
$stmt = $db->prepare("SELECT name FROM domain WHERE id = ? LIMIT 1");
|
||||
$stmt->execute([$domain_id]);
|
||||
$domain_name = $stmt->fetchColumn();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue