Empty commit

This commit is contained in:
Git 2014-06-27 08:00:25 +00:00
parent c67f79a429
commit 29de6bd44c

View File

@ -322,6 +322,12 @@ public static function get_donor_info($UserID) {
// 2 hours less than 32 days to account for schedule run times
if (G::$DB->has_results()) {
list($Rank, $SpecialRank, $TotalRank, $DonationTime, $ExpireTime) = G::$DB->next_record(MYSQLI_NUM, false);
if ($DonationTime === null) {
$DonationTime = 0;
}
if ($ExpireTime === null) {
$ExpireTime = 0;
}
} else {
$Rank = $SpecialRank = $TotalRank = $DonationTime = $ExpireTime = 0;
}