[Solar-talk] bounding zero

Rodrigo Moraes rodrigo.moraes at gmail.com
Mon Mar 12 12:37:33 PDT 2007


On 3/12/07, Paul M Jones wrote:
> Ah so, very sorry about that.  Fixed in Solar_Sql_Select on my
> working copy, will commit shortly.  Did you notice it in other places
> besides Solar_Sql_Select?

Searching the code, besides Solar_Sql_Select, Solar_View has a similar
comparison that is not strict:

        // assign by name and value
        if (is_string($spec) && $var != SOLAR_IGNORE_PARAM) {
            $this->$spec = $var;
            return true;
        }

So I guess a view variable can't be zero as well?

rodrigo


More information about the solar-talk mailing list