aboutsummaryrefslogtreecommitdiff
path: root/lib/watermark.php
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 /lib/watermark.php
parentaab76ab18aa6c191dd16c3672afdacfa61ae69bb (diff)
downloadelgg-881307d9dc5dba4c73b6898a4079ef8f507a90e2.tar.gz
elgg-881307d9dc5dba4c73b6898a4079ef8f507a90e2.tar.bz2
Fixes #127 using elgg_strtolower() for i18n support
Diffstat (limited to 'lib/watermark.php')
-rw-r--r--lib/watermark.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/watermark.php b/lib/watermark.php
index 6b16f0e4a..ce77c00e2 100644
--- a/lib/watermark.php
+++ b/lib/watermark.php
@@ -30,12 +30,12 @@ function tp_process_watermark_text($text, $owner) {
*/
function tp_get_watermark_filename($text, $owner) {
- $base = strtolower($text);
+ $base = elgg_strtolower($text);
$base = preg_replace("/[^\w-]+/", "-", $base);
$base = trim($base, '-');
$filename = tp_get_img_dir();
- $filename .= strtolower($owner->username . "_" . $base . "_stamp");
+ $filename .= elgg_strtolower($owner->username . "_" . $base . "_stamp");
return $filename;
}