From 6a1a7fcd268e90a3b6c33f9568403a441ce983da Mon Sep 17 00:00:00 2001 From: Bartek Przybylski Date: Wed, 21 Dec 2011 18:40:43 +0100 Subject: [PATCH] merged with stash --- apps/gallery/ajax/getAlbums.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/gallery/ajax/getAlbums.php b/apps/gallery/ajax/getAlbums.php index 7454b18eda..e4736076fe 100644 --- a/apps/gallery/ajax/getAlbums.php +++ b/apps/gallery/ajax/getAlbums.php @@ -4,6 +4,7 @@ OC_JSON::checkLoggedIn(); OC_JSON::checkAppEnabled('gallery'); $a = array(); + $result = OC_Gallery_Album::find(OC_User::getUser()); while ($r = $result->fetchRow()) {