ronaldfenner/yii — comment on commit b03e2d04f4a4ff9d1467ef2c186a4f267afb957f
File: framework/base/CModel.php line 634
By ronaldfenner:

I've changed the getter to check for an empty value and set them to being
null. Haven't committed the change yet though.

$this->_modelName = empty($name) ? null : $name;

On Thu, Mar 8, 2012 at 5:00 PM, Maurizio Domba <
reply@reply.github.com
> wrote:

> Check my additional comment on the pull request #471
>
> This has already been discussed before (I did not see it)... no need to
> check empty or false, this is a non valid value.
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/ronaldfenner/yii/commit/b03e2d04f4a4ff9d1467ef2c186a4f267afb957f#commitcomment-1063326
>