Browse Source

Fixes #36, swap intval with floatval.

devel
Jonathan Rosenbaum 7 years ago
parent
commit
16c6b39d02
  1. 2
      transaction_log.php

2
transaction_log.php

@ -701,7 +701,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) {
$title = "Sold By: " . $result['full_name']. "\r\n" . $title = "Sold By: " . $result['full_name']. "\r\n" .
"Original Price: " . $history[$key]->original_price . "\r\n" . "Original Price: " . $history[$key]->original_price . "\r\n" .
"Paid: " . $history[$key]->amount . "\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 . "'"; echo "title='" . $title . "'";
} else { } else {
$title = "Transaction Performed By: " . $result['full_name']; $title = "Transaction Performed By: " . $result['full_name'];

Loading…
Cancel
Save