Skip to content

Commit

Permalink
Merge pull request #950 from proditis/fix-target-metadata-typo
Browse files Browse the repository at this point in the history
typo post_exploitation instead of post_credits
  • Loading branch information
proditis authored May 4, 2023
2 parents d9becc6 + 30d0ba8 commit b306389
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<?php if(!empty($target->metadata->pre_credits)):?><b><?=\Yii::t('app','Pre exploitation credits')?></b>: <?=$target->metadata->pre_credits?><br/><?php endif;?>
<?php if(!empty($target->metadata->pre_exploitation)):?><b><?=\Yii::t('app','Pre exploitation details')?></b>: <?=$target->metadata->pre_exploitation?><br/><?php endif;?>
<?php if((($identity->player_id===Yii::$app->user->id && $target->progress==100) || Yii::$app->user->identity->isAdmin) && !empty($target->metadata->post_exploitation)):?><b><?=\Yii::t('app','Post exploitation')?></b>: <?=$target->metadata->post_exploitation?><br/><?php endif;?>
<?php if((($identity->player_id===Yii::$app->user->id && $target->progress==100) || Yii::$app->user->identity->isAdmin) && !empty($target->metadata->post_exploitation)):?><b><?=\Yii::t('app','Post exploitation credits')?></b>: <?=$target->metadata->post_credits?><br/><?php endif;?>
<?php if((($identity->player_id===Yii::$app->user->id && $target->progress==100) || Yii::$app->user->identity->isAdmin) && !empty($target->metadata->post_credits)):?><b><?=\Yii::t('app','Post exploitation credits')?></b>: <?=$target->metadata->post_credits?><br/><?php endif;?>
<?php endif;?>

0 comments on commit b306389

Please sign in to comment.