Skip to content

Commit 46434a4

Browse files
authored
Merge branch 'main' into main
2 parents 99e305b + 197d76d commit 46434a4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/modules/domainnameapi/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.15",
2+
"version": "1.0.16",
33
"type": "registrar",
44
"name": "Domainnameapi",
55
"description": "DomainNameApi is a domain registration module that allows you to register and manage domain names. More Than 800 extension!",

components/modules/domainnameapi/domainnameapi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,6 +1538,7 @@ public function getFilteredTldPricing($module_row_id=null, $filters = []){
15381538
if ($all_tlds["result"] == "OK") {
15391539
foreach ($all_tlds["data"] as $k => $v) {
15401540
foreach (range($v['minperiod'], $v['maxperiod']) as $ky => $vy) {
1541+
15411542
try {
15421543
$response['.' . $v['tld']]['USD'][$vy]['register'] = number_format($v['pricing']['registration'][1] * $vy,3);
15431544
$response['.' . $v['tld']]['USD'][$vy]['transfer'] = number_format($v['pricing']['transfer'][1] * $vy,3);

0 commit comments

Comments
 (0)