[Solar-talk] bookmarks app not working?

Rodrigo Moraes rodrigo.moraes at gmail.com
Sat Aug 5 04:24:22 PDT 2006


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.

rodrigo


More information about the solar-talk mailing list