Browse Source

Merge pull request #319 from slavcodev/patch-1

AccessRule match controller error.
tags/2.0.0-alpha
Qiang Xue 12 years ago
parent
commit
a5850657f8
  1. 2
      yii/web/AccessRule.php

2
yii/web/AccessRule.php

@ -124,7 +124,7 @@ class AccessRule extends Component
*/ */
protected function matchController($controller) protected function matchController($controller)
{ {
return empty($this->controllers) || in_array($controller->id, $this->controllers, true); return empty($this->controllers) || in_array($controller->uniqueId, $this->controllers, true);
} }
/** /**

Loading…
Cancel
Save