Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit 65e3b1d

Browse files
author
stevebagwell
committed
ensure that the number of codes is a string that looks like an integer
1 parent 9af4b3e commit 65e3b1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

themes/material/mfa/low-on-backup-codes.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@
2727
</h1>
2828
</div>
2929

30+
3031
<div class="mdl-card__title center" >
3132
<p class="mdl-card__subtitle-text">
32-
<?= $this->t('{material:mfa:running_out_info}', ['{numBackupCodesRemaining}' => (int)$this->data['numBackupCodesRemaining']]) ?>
33+
<?= $this->t('{material:mfa:running_out_info}', ['{numBackupCodesRemaining}' => (string)(int)$this->data['numBackupCodesRemaining']]) ?>
3334
</p>
3435
</div>
3536

0 commit comments

Comments
 (0)