diff options
author | Cash Costello <cash.costello@gmail.com> | 2013-05-11 08:22:03 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-05-11 08:22:03 -0400 |
commit | 4ebc7100f68bfe1f9beefa7fd1d3c937754def92 (patch) | |
tree | d657cb64420e9bb5008d606b2b8aa748797ea511 /mod/file | |
parent | 835626750756b6af38c0d9435c8477f23d494cda (diff) | |
download | elgg-4ebc7100f68bfe1f9beefa7fd1d3c937754def92.tar.gz elgg-4ebc7100f68bfe1f9beefa7fd1d3c937754def92.tar.bz2 |
Fixes #5422 fixes tag processing for file plugin
Diffstat (limited to 'mod/file')
-rw-r--r-- | mod/file/actions/file/upload.php | 4 |
1 files changed, 1 insertions, 3 deletions
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'])) { |