Commit f22953d0 by Allineer

Small typo in the framework/rbac/PhpManager.php

parent 9d986b49
...@@ -537,7 +537,7 @@ class PhpManager extends BaseManager ...@@ -537,7 +537,7 @@ class PhpManager extends BaseManager
$this->_items[$item->name] = $item; $this->_items[$item->name] = $item;
if ($name !== $item->name) { if ($name !== $item->name) {
if (isset($this->_items[$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])) { if (isset($this->_items[$name])) {
unset ($this->_items[$name]); unset ($this->_items[$name]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment