mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 08:53:23 -05:00
Fixes #36, swap intval with floatval.
This commit is contained in:
parent
8ba910b37b
commit
16c6b39d02
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user