mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-14 06:45:12 +02:00
Update epp-create.php
This commit is contained in:
parent
4ea97831ff
commit
ce1659fba8
1 changed files with 4 additions and 4 deletions
|
@ -626,6 +626,10 @@ function processDomainCreate($conn, $db, $xml, $clid, $database_type, $trans, $m
|
|||
$label = $parts['domain'];
|
||||
$domain_extension = '.' . strtoupper($parts['tld']);
|
||||
|
||||
$noticeid = null;
|
||||
$notafter = null;
|
||||
$accepted = null;
|
||||
|
||||
if ($launch_extension_enabled && isset($launch_create)) {
|
||||
$xml->registerXPathNamespace('launch', 'urn:ietf:params:xml:ns:launch-1.0');
|
||||
$xml->registerXPathNamespace('signedMark', 'urn:ietf:params:xml:ns:signedMark-1.0');
|
||||
|
@ -634,10 +638,6 @@ function processDomainCreate($conn, $db, $xml, $clid, $database_type, $trans, $m
|
|||
$launch_phase = $launch_phase_node ? (string)$launch_phase_node : null;
|
||||
$launch_phase_name = $launch_phase_node ? (string)$launch_phase_node['name'] : null;
|
||||
|
||||
$noticeid = null;
|
||||
$notafter = null;
|
||||
$accepted = null;
|
||||
|
||||
$xpath = '//*[namespace-uri()="urn:ietf:params:xml:ns:signedMark-1.0" and local-name()="encodedSignedMark"]';
|
||||
$smd_encodedSignedMark = $xml->xpath($xpath)[0] ?? null;
|
||||
$smd_encodedSignedMark = $smd_encodedSignedMark ? preg_replace('/\s+/', '', (string)$smd_encodedSignedMark) : null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue