From 16c6b39d02612f65339b660b4c5ad436da314265 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Sat, 18 Nov 2017 05:41:30 +0000 Subject: [PATCH] Fixes #36, swap intval with floatval. --- transaction_log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transaction_log.php b/transaction_log.php index d73f6e4..6c09e8b 100644 --- a/transaction_log.php +++ b/transaction_log.php @@ -701,7 +701,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) { $title = "Sold By: " . $result['full_name']. "\r\n" . "Original Price: " . $history[$key]->original_price . "\r\n" . "Paid: " . $history[$key]->amount . "\r\n" . - "Redeemed Hours: " . intval($history[$key]->redeemed_hours); + "Redeemed Hours: " . floatval($history[$key]->redeemed_hours); echo "title='" . $title . "'"; } else { $title = "Transaction Performed By: " . $result['full_name'];