From 5e5b629df4a64580be443ed5553d3b83c9b5e901 Mon Sep 17 00:00:00 2001 From: Veaceslav Medvedev Date: Mon, 20 May 2013 11:28:33 +0300 Subject: [PATCH] Update AccessRule.php --- yii/web/AccessRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yii/web/AccessRule.php b/yii/web/AccessRule.php index e565e18..3897769 100644 --- a/yii/web/AccessRule.php +++ b/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); } /**