From 881307d9dc5dba4c73b6898a4079ef8f507a90e2 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 5 Jun 2011 12:33:35 +0000 Subject: Fixes #127 using elgg_strtolower() for i18n support --- actions/flickrImportPhotoset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/flickrImportPhotoset.php') 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; -- cgit v1.2.3