From 7605bef1e6f39998b6f3bfdbe12316cddc424c0e Mon Sep 17 00:00:00 2001 From: Michael Aerni Date: Wed, 5 May 2021 19:40:34 +0200 Subject: [PATCH] Get the key and not an integer --- src/Tags/TransChoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tags/TransChoice.php b/src/Tags/TransChoice.php index 58e87fdb87..8655bb7094 100644 --- a/src/Tags/TransChoice.php +++ b/src/Tags/TransChoice.php @@ -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());