6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6564] "Photos not found" error in lib/Ansel.php
*
Your Email Address
*
Spam protection
Enter the letters below:
__ . .\ /.__..___ / `| | >< | |[__ \__.|__|/ \|__\[___
Comment
> Alright. I finally see what your referring to, I think. I still > don't see where you would get an error "pop-up in a new window". > getImages() was just returning a PEAR_Error - and that error was only > being logged to the horde log...that's it. > > > > Your point is valid though about returning an error when image count > == 0, but I have fixed it somewhat differently. IMO, a getImages() > method shouldn't care at all, or even have to know about, any > subgalleries. I changed the method to return an empty array() in that > case which makes more sense to me. I also changed the if-clause in > getChildren() to only call getImages() if we actually have any > images. This will save an additional database query for each page > since we already load the image count when we instantiate the gallery > object. > > > > http://lists.horde.org/archives/cvs/Week-of-Mon-20080407/077308.html > > > > Thanks for the report.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers