Browse Source

Update AccessRule.php

tags/2.0.0-beta
Veaceslav Medvedev 12 years ago
parent
commit
5e5b629df4
  1. 2
      yii/web/AccessRule.php

2
yii/web/AccessRule.php

@ -124,7 +124,7 @@ class AccessRule extends Component
*/
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