aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
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;