aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-10 14:54:32 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-10 14:54:32 +0000
commit3bdb405c9bc192fc17a248d0e4878c837d1d82f5 (patch)
treea0ee404b32aee40a3c622b489a45ff175099dd0d /engine
parent7c884b14bd0d1a9d7bebe314e27ebd74ec0726ee (diff)
downloadelgg-3bdb405c9bc192fc17a248d0e4878c837d1d82f5.tar.gz
elgg-3bdb405c9bc192fc17a248d0e4878c837d1d82f5.tar.bz2
Closes #757: Removed strtolower as it is not UTF8 safe. See http://www.phpwact.org/php/i18n/utf-8 for further discussion.
git-svn-id: https://code.elgg.org/elgg/trunk@2705 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/metadata.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index fae3e292b..1fc88eba6 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -759,7 +759,7 @@
if (is_string($string)) {
$ar = explode(",",$string);
$ar = array_map('trim', $ar); // trim blank spaces
- $ar = array_map('strtolower', $ar); // make lower case
+ //$ar = array_map('strtolower', $ar); // make lower case : [Marcus Povey 20090210 - Commented out since strtolower is not UTF8 safe]
$ar = array_filter($ar, 'is_not_null'); // Remove null values
return $ar;
}