Empty commit

This commit is contained in:
Git 2015-12-17 08:00:30 +00:00
parent ad9a42b16a
commit aaee6d4a4b
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
CHANGE LOG
2015-12-16 by lawnmower
Fix adding donor points with decimals
2015-12-01 by newman
Fix typo in locked accounts index.php

View File

@ -155,7 +155,7 @@
die();
}
if (!empty($_POST['donor_points_submit']) && !empty($_POST['donation_value']) && is_number($_POST['donation_value'])) {
if (!empty($_POST['donor_points_submit']) && !empty($_POST['donation_value']) && is_numeric($_POST['donation_value'])) {
Donations::regular_donate($UserID, $_POST['donation_value'], "Add Points", $_POST['donation_reason'], $_POST['donation_currency']);
} elseif (!empty($_POST['donor_values_submit'])) {
Donations::update_rank($UserID, $_POST['donor_rank'], $_POST['total_donor_rank'], $_POST['reason']);