Skip to content

Commit

Permalink
Fix trans_choice Tag (#3650)
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni authored May 5, 2021
1 parent efcbd52 commit c4e4a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tags/TransChoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class TransChoice extends Tags
*/
public function wildcard($tag)
{
$key = $this->params->int('key', $tag);
$key = $this->params->get('key', $tag);
$count = $this->params->int('count', 1);

return trans_choice($key, $count, $this->params->all());
Expand Down

0 comments on commit c4e4a20

Please sign in to comment.