Hello,
when trying to get the names of all existing albums I tried this:
`$_zp_gallery->getAlbums(0,null,null,true,true)`
expecting to get both published and unpublished albums. I only get published albums though. Tried setting the last param ($mine) to false as well, without success.
Is that correct behaviour? How would I get a list that includes unpublished albums?
Quick note: tried some stuff in class-gallery and it seems that it's the `sortAlbumArray` function that doesn't return the unpublished albums, no matter how you set $mine.
Thanks for your help.
Comments
So just to be sure, `$_zp_gallery->getAlbums(0,null,null,true,true)` should return a list of ALL albums, whether published or not, no matter if I'm logged in or not?
Sorry for bugging you about this.
Is that intended behaviour or should I file a bug report? It's a small thing, but can be quite annoying because it's so unexpected.
I opened a ticket describing that. Thanks!