mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-15 17:16:59 +02:00
Small bugfixes on CP and EPP
This commit is contained in:
parent
cf9b4cfa52
commit
3c86dc19ad
2 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,7 @@
|
|||
queryParts.push("filter3=exdate,cs," + encodeURIComponent(searchTerm));
|
||||
}
|
||||
|
||||
queryParts.push("order=name");
|
||||
queryParts.push("order=crdate,desc");
|
||||
|
||||
// Include pagination parameters
|
||||
if (params.page) {
|
||||
|
|
|
@ -1600,7 +1600,7 @@ function processDomainUpdate($conn, $db, $xml, $clid, $database_type, $trans) {
|
|||
}
|
||||
|
||||
foreach ($hostAttr_list as $node) {
|
||||
$hostNames = $xml->xpath('domain:hostName[1]', $node);
|
||||
$hostNames = $node->xpath('domain:hostName[1]');
|
||||
$hostName = isset($hostNames[0]) ? (string)$hostNames[0] : null;
|
||||
|
||||
if ($hostName) {
|
||||
|
@ -1646,7 +1646,7 @@ function processDomainUpdate($conn, $db, $xml, $clid, $database_type, $trans) {
|
|||
$sth->execute([$domain_id, $host_id]) or die($sth->errorInfo()[2]);
|
||||
|
||||
// Iterate over the hostAddr_list
|
||||
$hostAddr_list = $xml->xpath('domain:hostAddr', $node);
|
||||
$hostAddr_list = $node->xpath('domain:hostAddr');
|
||||
foreach ($hostAddr_list as $node) {
|
||||
$hostAddr = (string)$node;
|
||||
$addr_type = isset($node['ip']) ? (string)$node['ip'] : 'v4';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue