aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/metadata.php6
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;