From 37fcd57788715555f583eedf37b752184986c678 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 24 Nov 2008 14:14:00 +0000 Subject: Closes #580: Fixed tagging trim and strtolower git-svn-id: https://code.elgg.org/elgg/trunk@2486 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/metadata.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/lib') diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index e7f610601..eddc3c169 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -752,9 +752,9 @@ function string_to_tag_array($string) { if (is_string($string)) { - $ar = explode(",",$string); - array_walk($ar,'trim'); - array_walk($ar,'strtolower'); + $ar = explode(",",$string); + $ar = array_map('trim', $ar); + $ar = array_map('strtolower', $ar); return $ar; } return false; -- cgit v1.2.3