diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index b529f5958c..9fdb94f332 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -4066,7 +4066,7 @@ class learnpath { if($document_id) { - api_item_property_update($_course, TOOL_DOCUMENT, $document_id, 'DocumentAdded', api_get_user_id(), $to_group_id); + api_item_property_update($_course, TOOL_DOCUMENT, $document_id, 'DocumentAdded', api_get_user_id()); //update parent folders //item_property_update_on_folder($_course, $_GET['dir'], $_user['user_id']); @@ -4975,7 +4975,7 @@ class learnpath { { $sql_forum = " SELECT - forum_title as title + forum_title as title, forum_comment as comment FROM " . $tbl_forum . " WHERE forum_id = " . $extra_info; @@ -4983,10 +4983,12 @@ class learnpath { $row = Database::fetch_array($result); $item_title = $row['title']; + $item_description = $row['comment']; } else { $item_title = ''; + $item_description = ''; } $return = '