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:
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]));
}
}