aboutsummaryrefslogtreecommitdiff
path: root/lib/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/image.php')
-rw-r--r--lib/image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/image.php b/lib/image.php
index c68560df6..7f98a08d7 100644
--- a/lib/image.php
+++ b/lib/image.php
@@ -45,7 +45,7 @@ class TidypicsImage extends ElggFile {
*/
public function setOriginalFilename($originalName) {
$prefix = "image/" . $this->container_guid . "/";
- $filestorename = strtolower(time() . $originalName);
+ $filestorename = elgg_strtolower(time() . $originalName);
$this->setFilename($prefix . $filestorename);
$this->originalfilename = $originalName;
}