MDL-25340 external blof - fix problem with extra tags processing
authorEloy Lafuente <stronk7@moodle.org>
Fri, 19 Nov 2010 23:58:53 +0000 (23:58 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Fri, 19 Nov 2010 23:58:53 +0000 (23:58 +0000)
blog/external_blog_edit.php

index 0e936f9..0ce5190 100644 (file)
@@ -84,7 +84,7 @@ if ($externalblogform->is_cancelled()){
 
             $newexternal->id = $DB->insert_record('blog_external', $newexternal);
             blog_sync_external_entries($newexternal);
-            tag_set('blog_external', $newexternal->id, $data->autotags);
+            tag_set('blog_external', $newexternal->id, explode(',', $data->autotags));
 
             break;