From: Bartek Przybylski Date: Wed, 21 Dec 2011 17:40:43 +0000 (+0100) Subject: merged with stash X-Git-Tag: v3.0~79^2~9^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6a1a7fcd268e90a3b6c33f9568403a441ce983da;p=nextcloud-server.git merged with stash --- diff --git a/apps/gallery/ajax/getAlbums.php b/apps/gallery/ajax/getAlbums.php index 7454b18edab..e4736076fed 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()) {