aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-05 12:33:35 +0000
committerCash Costello <cash.costello@gmail.com>2011-06-05 12:33:35 +0000
commit881307d9dc5dba4c73b6898a4079ef8f507a90e2 (patch)
tree93a02ca9e23eac14fba63da17335f27c3946becc /actions
parentaab76ab18aa6c191dd16c3672afdacfa61ae69bb (diff)
downloadelgg-881307d9dc5dba4c73b6898a4079ef8f507a90e2.tar.gz
elgg-881307d9dc5dba4c73b6898a4079ef8f507a90e2.tar.bz2
Fixes #127 using elgg_strtolower() for i18n support
Diffstat (limited to 'actions')
-rw-r--r--actions/flickrImportPhotoset.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/flickrImportPhotoset.php b/actions/flickrImportPhotoset.php
index eeb42d622..c92e5c795 100644
--- a/actions/flickrImportPhotoset.php
+++ b/actions/flickrImportPhotoset.php
@@ -206,7 +206,7 @@ foreach( $photos_to_upload as $name => $photo ) {
//this will save to users folder in /image/ and organize by photo album
$prefix = "image/" . $container_guid . "/";
$file = new ElggFile();
- $filestorename = strtolower(time().$name);
+ $filestorename = elgg_strtolower(time().$name);
$file->setFilename($prefix.$filestorename . ".jpg"); //that's all flickr stores so I think this is safe
$file->setMimeType($mime);
$file->originalfilename = $name;