Skip to content

Commit 186fd9a

Browse files
committed
fix renew
1 parent 70469d4 commit 186fd9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/modules/DomainModule.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ public function domainRenew(array $row, ?bool $expired = false): array
349349
$row = $this->_domainSetFee($row, 'renew');
350350

351351
if (!empty($row['fee']) && floatval((string) $row['fee']) > floatval((string) $row['standart_price'])) {
352-
throw new Exception($row['reason']);
352+
// throw new Exception($row['reason']);
353353
}
354354

355355
$curExpDate = $this->tool->getDateTime($row['expires_time']);
@@ -962,6 +962,8 @@ protected function _domainRenew(array $row): array
962962
'curExpDate' => $row['expires'],
963963
'period' => $row['period'],
964964
'fee' => $row['fee'] ?? null,
965+
'category' => $row['category'],
966+
'category_name' => $row['category_name'],
965967
]), array_filter([
966968
'domain' => 'name',
967969
'expiration_date' => 'exDate',

0 commit comments

Comments
 (0)