From: Hypolite Petovan Date: Wed, 24 Nov 2021 15:57:05 +0000 (-0500) Subject: Add missing variable argument operator in BaseModule->t X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ba26a56f3d8577021318532beb80353339c6a19c;p=friendica.git Add missing variable argument operator in BaseModule->t - This was causing to wrongly pass the variable arguments as an array of variable arguments to L10n->t --- diff --git a/src/BaseModule.php b/src/BaseModule.php index be4788045c..48677e64fc 100644 --- a/src/BaseModule.php +++ b/src/BaseModule.php @@ -56,7 +56,7 @@ abstract class BaseModule implements ICanHandleRequests */ protected function t(string $s, ...$args): string { - return $this->l10n->t($s, $args); + return $this->l10n->t($s, ...$args); } /**