From bb05ed4f24a5f479deef105747b0f28bfa84600d Mon Sep 17 00:00:00 2001 From: crtlib Date: Sat, 3 Aug 2013 23:13:31 +0200 Subject: [PATCH] Update Component.php --- framework/yii/base/Component.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/base/Component.php b/framework/yii/base/Component.php index f123148..0cb36ee 100644 --- a/framework/yii/base/Component.php +++ b/framework/yii/base/Component.php @@ -232,7 +232,7 @@ class Component extends Object */ public function hasProperty($name, $checkVar = true, $checkBehaviors = true) { - return $this->canGetProperty($name, $checkVar, $checkBehaviors) || $this->canSetProperty($name, false, $checkBehavior); + return $this->canGetProperty($name, $checkVar, $checkBehaviors) || $this->canSetProperty($name, false, $checkBehaviors); } /**