aboutsummaryrefslogtreecommitdiffstats
path: root/apps/gallery/lib/scanner.php
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2012-03-04 00:35:37 +0100
committerBartek Przybylski <bart.p.pl@gmail.com>2012-03-04 00:35:37 +0100
commitc411826fe5e7662fb0f6dc5fbcb074c68b467ea4 (patch)
treeda23da095fcc3e034d09ab978337265c26e043ff /apps/gallery/lib/scanner.php
parentf06858689f9709d3859f814ca57dfa54b9ed0865 (diff)
downloadnextcloud-server-c411826fe5e7662fb0f6dc5fbcb074c68b467ea4.tar.gz
nextcloud-server-c411826fe5e7662fb0f6dc5fbcb074c68b467ea4.zip
moving gallery op to one file, migrate gallery dialogs to oc dialogs
Diffstat (limited to 'apps/gallery/lib/scanner.php')
-rw-r--r--apps/gallery/lib/scanner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/lib/scanner.php b/apps/gallery/lib/scanner.php
index 9c381acf389..19906c07152 100644
--- a/apps/gallery/lib/scanner.php
+++ b/apps/gallery/lib/scanner.php
@@ -64,7 +64,7 @@ class OC_Gallery_Scanner {
}
$current_album['imagesCount'] = count($current_album['images']);
$albums['imagesCount'] = $current_album['imagesCount'];
- $albums['albumName'] = $current_album['name'];
+ $albums['albumName'] = utf8_encode($current_album['name']);
$result = OC_Gallery_Album::find(OC_User::getUser(), /*$current_album['name']*/ null, $path);
// don't duplicate galleries with same path (bug oc-33)