Browse Source

Update Component.php

tags/2.0.0-beta
crtlib 12 years ago
parent
commit
bb05ed4f24
  1. 2
      framework/yii/base/Component.php

2
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);
}
/**

Loading…
Cancel
Save