Skip to content

Commit

Permalink
Small typo in the framework/rbac/PhpManager.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Allineer committed May 21, 2014
1 parent 9d986b4 commit f22953d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/rbac/PhpManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ protected function updateItem($name, $item)
$this->_items[$item->name] = $item;
if ($name !== $item->name) {
if (isset($this->_items[$item->name])) {
throw new InvalidParamException("Unable to change the item name. The name '{$item->name} is already used by another item.");
throw new InvalidParamException("Unable to change the item name. The name '{$item->name}' is already used by another item.");
}
if (isset($this->_items[$name])) {
unset ($this->_items[$name]);
Expand Down

0 comments on commit f22953d

Please sign in to comment.