Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2022-01-19 12:31:30 +0300
committerGitHub <noreply@github.com>2022-01-19 12:31:30 +0300
commitad8c2445843faf03c843bafcea911190fec89b33 (patch)
treefb87b21cc34ac026356fd303793a4f6f28826695 /core
parent333c898729d809d62881a1285476a444bc138f4d (diff)
Fix incorrect number of placeholders in translation (#18655)
Diffstat (limited to 'core')
-rw-r--r--core/Access/RolesProvider.php2
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]));
}
}