mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
c67f79a429
commit
29de6bd44c
@ -322,6 +322,12 @@ public static function get_donor_info($UserID) {
|
|||||||
// 2 hours less than 32 days to account for schedule run times
|
// 2 hours less than 32 days to account for schedule run times
|
||||||
if (G::$DB->has_results()) {
|
if (G::$DB->has_results()) {
|
||||||
list($Rank, $SpecialRank, $TotalRank, $DonationTime, $ExpireTime) = G::$DB->next_record(MYSQLI_NUM, false);
|
list($Rank, $SpecialRank, $TotalRank, $DonationTime, $ExpireTime) = G::$DB->next_record(MYSQLI_NUM, false);
|
||||||
|
if ($DonationTime === null) {
|
||||||
|
$DonationTime = 0;
|
||||||
|
}
|
||||||
|
if ($ExpireTime === null) {
|
||||||
|
$ExpireTime = 0;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$Rank = $SpecialRank = $TotalRank = $DonationTime = $ExpireTime = 0;
|
$Rank = $SpecialRank = $TotalRank = $DonationTime = $ExpireTime = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user