[Solar-talk] bookmarks app not working?
Paul M Jones
pmjones at solarphp.com
Sat Aug 5 19:54:41 PDT 2006
On Aug 5, 2006, at 6:24 AM, Rodrigo Moraes wrote:
> Paul, this is a quick fix to ship it working:
>
> On Solar_App_Bookmarks::_setup(), change :
>
> if (empty($area)) {
> ...
>
> to:
>
> if (empty($area->id)) {
>
> Then the non-existing area will be added. This happens because the
> result of fetching row is never empty. I guess this was broken since
> Solar_Sql_Row was added, as Jeff said; and that you have to check a
> field to see if a row exists.
Have corrected in SVN. Jeff, thanks for noticing; Rodrigo, thanks
for the fix. :-)
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list