mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-23 19:10:30 +02:00
Preparation for prices per registrar
This commit is contained in:
parent
0799781491
commit
76f8c52f3a
8 changed files with 13 additions and 13 deletions
|
@ -45,7 +45,7 @@ try {
|
|||
|
||||
if ($set_autorenewPeriod) {
|
||||
list($registrar_balance, $creditLimit) = $dbh->query("SELECT accountBalance, creditLimit FROM registrar WHERE id = '$clid' LIMIT 1")->fetch(PDO::FETCH_NUM);
|
||||
$returnValue = getDomainPrice($dbh, $name, $tldid, 12, 'renew');
|
||||
$returnValue = getDomainPrice($dbh, $name, $tldid, 12, 'renew', $clid);
|
||||
$price = $returnValue['price'];
|
||||
|
||||
if (($registrar_balance + $creditLimit) > $price) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue