sforkowany z mirror/friendica
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->t2022.09-rc
rodzic
4208535c16
commit
ba26a56f3d
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Ładowanie…
Reference in New Issue