[ansel] patch to list.php
Heath S. Hendrickson
heath at outerspaceconsultants.com
Fri Feb 13 09:53:39 PST 2004
I noticed that list.php had a small bug in it. The $gallerylist wasn't
being populated correctly with all the galleries (only the top-level
ones and no sub-galleries).
Was this by design? If not, attached is a patch that will fix it.
heath
-------------- next part --------------
Index: list.php
===================================================================
RCS file: /usr/local/horde/cvs/ansel/list.php,v
retrieving revision 1.31
diff -u -r1.31 list.php
--- list.php 7 Feb 2004 17:43:32 -0000 1.31
+++ list.php 13 Feb 2004 17:50:40 -0000
@@ -21,7 +21,7 @@
if ($prefs->getValue('groupbyowner')) {
require_once HORDE_LIBS . 'Horde/Identity.php';
- $gallerylist = Ansel::listGalleriesByOwner(PERMS_READ, '-1', false);
+ $gallerylist = Ansel::listGalleriesByOwner(PERMS_READ, '-1', true);
if (count($gallerylist) == 0) {
$notification->push(_("There are no photo galleries available."), 'horde.warning');
}
More information about the ansel
mailing list