Minor corrections
This commit is contained in:
parent
07283421e5
commit
ef6996c55f
1 changed files with 2 additions and 0 deletions
|
|
@ -336,6 +336,7 @@ class Quota extends Model
|
|||
$round_ids = $response['round_ids'];
|
||||
$user_ids = $response['user_ids'];
|
||||
|
||||
$payoutList=array();
|
||||
foreach($user_ids as $userId) {
|
||||
$payoutList[$userId]=array();
|
||||
}
|
||||
|
|
@ -402,6 +403,7 @@ class Quota extends Model
|
|||
$_payouts = Quota::getPayouts();
|
||||
$winners = ManualPayout::getWinners();
|
||||
foreach ($winners as $quota => $uId) {
|
||||
if ($uId==0) continue; // No winner
|
||||
$item = array();
|
||||
$item['roundname']=$names[$quota];
|
||||
$item['payout']=$_payouts[$quota];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue