Skip to content

Commit 9633f3a

Browse files
authored
Merge pull request #1046 from proditis/master
fix typo that broke cron/instances
2 parents dd70efa + c366eef commit 9633f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/commands/CronController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public function actionInstances($pfonly=false)
275275
$dc->pull();
276276
$dc->spin();
277277
}
278-
if(($val->team_allowed===true && $val->player->teamPlayer) || \Yii::$ap->sys->team_visible_instances===true)
278+
if(($val->team_allowed===true && $val->player->teamPlayer) || \Yii::$app->sys->team_visible_instances===true)
279279
{
280280
foreach($val->player->teamPlayer->team->teamPlayers as $teamPlayer)
281281
{

0 commit comments

Comments
 (0)