diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-02-07 22:33:01 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-02-08 21:12:30 +0100 |
commit | eb5de4d4f7b98bb1c258dbb5ed5ecf9c2d39e746 (patch) | |
tree | 47ae2ac83a8241730c1070ce582564064c778839 /apps/gallery/ajax/galleryOp.php | |
parent | 7c03b612d2c58f9cc02c46c82e137087b1591d07 (diff) | |
download | nextcloud-server-eb5de4d4f7b98bb1c258dbb5ed5ecf9c2d39e746.tar.gz nextcloud-server-eb5de4d4f7b98bb1c258dbb5ed5ecf9c2d39e746.zip |
Change gallery thumbnail generation to OC_Image
Diffstat (limited to 'apps/gallery/ajax/galleryOp.php')
-rw-r--r-- | apps/gallery/ajax/galleryOp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/ajax/galleryOp.php b/apps/gallery/ajax/galleryOp.php index f819d87f666..0ec447d01f6 100644 --- a/apps/gallery/ajax/galleryOp.php +++ b/apps/gallery/ajax/galleryOp.php @@ -69,7 +69,7 @@ function handlePartialCreate($path) { if (!OC_Filesystem::is_dir($path)) OC_JSON::error(array('cause' => 'Invalid path given')); $album = OC_Gallery_Album::find(OC_User::getUser(), null, $path); - $albums; + $albums = array(); OC_Gallery_Scanner::scanDir($path, $albums); OC_JSON::success(array('album_details' => $albums)); } |