From: Cash Costello Date: Sat, 11 May 2013 12:22:03 +0000 (-0400) Subject: Fixes #5422 fixes tag processing for file plugin X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4ebc7100f68bfe1f9beefa7fd1d3c937754def92;p=lorea%2Felgg.git Fixes #5422 fixes tag processing for file plugin --- diff --git a/mod/file/actions/file/upload.php b/mod/file/actions/file/upload.php index d6dce2528..7ee402121 100644 --- a/mod/file/actions/file/upload.php +++ b/mod/file/actions/file/upload.php @@ -71,9 +71,7 @@ $file->title = $title; $file->description = $desc; $file->access_id = $access_id; $file->container_guid = $container_guid; - -$tags = explode(",", $tags); -$file->tags = $tags; +$file->tags = string_to_tag_array($tags); // we have a file upload, so process it if (isset($_FILES['upload']['name']) && !empty($_FILES['upload']['name'])) {