Skip to content

Commit

Permalink
EZP-30118: Fixed typo in UnauthorizedException message (#2541)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikadamczyk authored and alongosz committed Feb 13, 2019
1 parent 1ca2b3a commit 1ec3eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eZ/Publish/Core/Base/Exceptions/UnauthorizedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function __construct($module, $function, array $properties = null, Except
$this->setParameters(['%module%' => $module, '%function%' => $function]);

if ($properties) {
$this->setMessageTemplate("User does not have access to '%function%' '%module%' with: %with%'");
$this->setMessageTemplate("User does not have access to '%function%' '%module%' with: %with%");
$with = [];
foreach ($properties as $name => $value) {
$with[] = "{$name} '{$value}'";
Expand Down

0 comments on commit 1ec3eb8

Please sign in to comment.