Skip to content

Commit c366eef

Browse files
committed
fix typo that broke instances
1 parent dd70efa commit c366eef

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)