diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-10 11:06:53 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-10 11:06:53 +0200 |
commit | 2e7294c83c6388e3855ce787f0a18c20ed652131 (patch) | |
tree | 7e3a4ee156fa93954a501b0f112fa2d1055064f0 /pages/api | |
parent | 85145d4a0f7ddd7717af495cbd3f42891042d047 (diff) | |
download | pluralconnect-2e7294c83c6388e3855ce787f0a18c20ed652131.tar.gz pluralconnect-2e7294c83c6388e3855ce787f0a18c20ed652131.tar.bz2 pluralconnect-2e7294c83c6388e3855ce787f0a18c20ed652131.zip |
Updated 12 files and added includes/system/compare.inc (automated)
Diffstat (limited to 'pages/api')
-rw-r--r-- | pages/api/money/create.php | 2 |
1 files changed, 1 insertions, 1 deletions
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"] : "")) ] ])); |