From f80f1bcb953710ee0703c08cf302bbd90075c0e6 Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:52:38 +0200 Subject: [PATCH] Update FinancialsController.php --- cp/app/Controllers/FinancialsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cp/app/Controllers/FinancialsController.php b/cp/app/Controllers/FinancialsController.php index 7ee54c7..ec5b6eb 100644 --- a/cp/app/Controllers/FinancialsController.php +++ b/cp/app/Controllers/FinancialsController.php @@ -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);