diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-24 14:14:00 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-24 14:14:00 +0000 |
commit | 37fcd57788715555f583eedf37b752184986c678 (patch) | |
tree | d44ea051fd58a23c70cbf7da55dc3ef37ac6ac81 /engine | |
parent | 3f96ae69b9ea6f99e1e169d0ebd6c7ad7e1a24b3 (diff) | |
download | elgg-37fcd57788715555f583eedf37b752184986c678.tar.gz elgg-37fcd57788715555f583eedf37b752184986c678.tar.bz2 |
Closes #580: Fixed tagging trim and strtolower
git-svn-id: https://code.elgg.org/elgg/trunk@2486 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/metadata.php | 6 |
1 files changed, 3 insertions, 3 deletions
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;
|