diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-01-19 12:31:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 12:31:30 +0300 |
commit | ad8c2445843faf03c843bafcea911190fec89b33 (patch) | |
tree | fb87b21cc34ac026356fd303793a4f6f28826695 /core | |
parent | 333c898729d809d62881a1285476a444bc138f4d (diff) |
Fix incorrect number of placeholders in translation (#18655)
Diffstat (limited to 'core')
-rw-r--r-- | core/Access/RolesProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Access/RolesProvider.php b/core/Access/RolesProvider.php index 4295e9b713..50df3fa1ea 100644 --- a/core/Access/RolesProvider.php +++ b/core/Access/RolesProvider.php @@ -59,7 +59,7 @@ class RolesProvider { if (!$this->isValidRole($roleId)) { $roles = $this->getAllRoleIds(); - throw new Exception(Piwik::translate("UsersManager_ExceptionAccessValues", implode(", ", $roles))); + throw new Exception(Piwik::translate("UsersManager_ExceptionAccessValues", [implode(", ", $roles), $roleId])); } } |