From 2e7294c83c6388e3855ce787f0a18c20ed652131 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sat, 10 Jun 2023 11:06:53 +0200 Subject: Updated 12 files and added includes/system/compare.inc (automated) --- pages/api/money/create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/api') diff --git a/pages/api/money/create.php b/pages/api/money/create.php index 0b78f57..12cc7c9 100644 --- a/pages/api/money/create.php +++ b/pages/api/money/create.php @@ -79,7 +79,7 @@ file_get_contents('https://' . $ntfy["server"] . '/' . $ntfy["topic"], false, st "Title: " . formatPonypush((getMember($myId)["display_name"] ?? getMember($myId)["name"]) . " created a transaction to " . $account["name"] . " (" . ucfirst($account["owner"]) . ")") . "\r\n" . "Tags: bits\r\n" . "Authorization: Basic " . base64_encode($ntfy["user"] . ":" . $ntfy["password"]), - 'content' => formatPonypush(($account["currency"] === "gbp" ? "£" : "€") . abs((float)$data["amount"]) . " were " . ((float)$data["amount"] >= 0 ? "added" : "removed") . " just now" . (trim($data["description"]) !== "" ? ": " . $_GET["description"] : "")) + 'content' => formatPonypush(($account["currency"] === "gbp" ? "£" : "€") . abs((float)$data["amount"]) . " were " . ((float)$data["amount"] >= 0 ? "added" : "removed") . " just now" . (trim($data["description"]) !== "" ? ": " . $data["description"] : "")) ] ])); -- cgit