The __toString method must return a string.
When the selected field is NULL on db, an empty string must be returned, not
null.
Fix:
return $this->FIELDNAME === null ? '' : $this->FIELDNAME;
Original issue reported on code.google.com by rodrigo.coelho@gmail.com on 14 Sep 2010 at 2:55
Original issue reported on code.google.com by
rodrigo.coelho@gmail.com
on 14 Sep 2010 at 2:55