Browse Source

fixed return value of Component::can*Property

return false, not null
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
f83fcc553c
  1. 4
      framework/yii/base/Component.php

4
framework/yii/base/Component.php

@ -264,8 +264,8 @@ class Component extends Object
return true;
}
}
return false;
}
return false;
}
/**
@ -294,8 +294,8 @@ class Component extends Object
return true;
}
}
return false;
}
return false;
}
/**

Loading…
Cancel
Save