mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-19 17:15:55 +02:00
Update FinancialsController.php
This commit is contained in:
parent
9c3ad18845
commit
f80f1bcb95
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class FinancialsController extends Controller
|
|||
$registrar_id = $data['registrar'];
|
||||
$registrars = $db->select("SELECT id, clid, name FROM registrar");
|
||||
$amount = $data['amount'];
|
||||
$description = empty($data['description']) ? "Funds Added to Account Balance" : $data['description'];
|
||||
$description = empty($data['description']) ? "funds added to account balance" : $data['description'];
|
||||
|
||||
$isPositiveNumberWithTwoDecimals = filter_var($amount, FILTER_VALIDATE_FLOAT) !== false && preg_match('/^\d+(\.\d{1,2})?$/', $amount);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue