[Tickets #3855] RESOLVED: lib/Block/gallery.php dies with fatal error if specified gallery doesn't exist

bugs@bugs.horde.org bugs at bugs.horde.org
Mon May 8 15:41:28 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3855
-----------------------------------------------------------------------
 Ticket             | 3855
 Updated By         | dorm at dorm.org
 Summary            | lib/Block/gallery.php dies with fatal error if specified gallery doesn't exist
 Queue              | Ansel
 State              | Resolved
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


dorm at dorm.org (2006-05-08 15:41) wrote:

Unfortunately, that still doesn't solve the problem.  We don't event get to
line 65, because in line 64 $gallery is a Gallery object, not a PEAR_Error.

This is where I'm confused, because I don't understand how _getGallery
doesn't return PEAR_Error when the requested gallery doesn't exist.




More information about the bugs mailing list