|
|
@@ -1808,7 +1808,7 @@ class BonusCalc extends BaseObject {
|
|
|
$amount = ($amount > $capBonus) ? $capBonus : $amount;
|
|
|
|
|
|
// 会员级别+聘级都达到要求才会发放奖金
|
|
|
- if (in_array($userStarDirectorObj[$userId]['LAST_DEC_LV'], $minDecLevel)) {
|
|
|
+ if (isset($userStarDirectorObj[$userId]) && in_array($userStarDirectorObj[$userId]['LAST_DEC_LV'], $minDecLevel)) {
|
|
|
// 放入缓存
|
|
|
CalcCache::garageBonus($userId, $this->_periodNum, $amount);
|
|
|
// 加入月奖的会员
|