[Tickets #6564] "Photos not found" error in lib/Ansel.php

bugs at horde.org bugs at horde.org
Thu Apr 3 07:29:02 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/6564
-----------------------------------------------------------------------
 Ticket             | 6564
 Created By         | tinu at humbapa.ch
 Summary            | "Photos not found" error in lib/Ansel.php
 Queue              | Ansel
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             |
+New Attachment     | Ansel.php.patch
-----------------------------------------------------------------------


tinu at humbapa.ch (2008-04-03 03:29) wrote:

I have some galleries without images but with subgalleries. every time I
view such a gallery I got an errormessage saying "Photos not found".

the methode getImages in lib/Ansel.php checks if there are any images
inside a gallery an returns "PEAR::raiseError(_("Photos not found"));" for
0 images. my small patch changes that behaviour so that the error only
occurs for 0 images and no subgalleries.

thanks!




More information about the bugs mailing list