mirror of
https://github.com/getnamingo/registry.git
synced 2025-06-29 15:43:23 +02:00
Formatting fixes on domain and host create
This commit is contained in:
parent
1f000d5cf9
commit
cfcb51b9f8
2 changed files with 3 additions and 3 deletions
|
@ -485,7 +485,7 @@ class DomainsController extends Controller
|
|||
$exdate = $currentDateTime->format('Y-m-d H:i:s.v'); // Expiry timestamp after $date_add months
|
||||
|
||||
$db->insert('domain', [
|
||||
'name' => $domainName,
|
||||
'name' => strtolower($domainName),
|
||||
'tldid' => $tld_id,
|
||||
'registrant' => $registrant_id,
|
||||
'crdate' => $crdate,
|
||||
|
|
|
@ -128,7 +128,7 @@ class HostsController extends Controller
|
|||
$db->insert(
|
||||
'host',
|
||||
[
|
||||
'name' => $hostName,
|
||||
'name' => strtolower($hostName),
|
||||
'domain_id' => $superordinate_dom,
|
||||
'clid' => $clid,
|
||||
'crid' => $clid,
|
||||
|
@ -195,7 +195,7 @@ class HostsController extends Controller
|
|||
$db->insert(
|
||||
'host',
|
||||
[
|
||||
'name' => $hostName,
|
||||
'name' => strtolower($hostName),
|
||||
'clid' => $clid,
|
||||
'crid' => $clid,
|
||||
'crdate' => $crdate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue