mirror of
				https://github.com/fspc/Yellow-Bike-Database.git
				synced 2025-10-31 00:45:35 -04: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" . | 				  				$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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user