Bug: Displaying Aunauthorized Pictures
Posted: 18 Jun 2011, 03:59
There is a bug in
It displays random image from any sub-category, even if this sub-category should be inaccessible to the current user.
This renders the option "show random image as category-preview" useless for me.
Example (accessible, inaccesible):
There are probably simpler examples, this is just an excerpt from a real-life usage.
Code: Select all
PhocaGalleryImageFront::getRandomImageRecursive()
This renders the option "show random image as category-preview" useless for me.
Example (accessible, inaccesible):
- root <-- you are here and see a random image as preview for cat1
- cat1 <-- has no images
- cat1.1 <-- has no images
- a lot of categories with images here
- cat1.2 <-- has no images
- a lot of categories with images here
- cat1.1 <-- has no images
- cat1 <-- has no images
There are probably simpler examples, this is just an excerpt from a real-life usage.