From 57e2ffbed22849e1848cf4dd79bfb4d83e5de636 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 15 Jan 2015 09:20:49 +0100 Subject: [PATCH] Fixes comment student publication list. --- main/work/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/work/edit.php b/main/work/edit.php index 382d88043f..8e109872ad 100755 --- a/main/work/edit.php +++ b/main/work/edit.php @@ -288,7 +288,7 @@ if (!empty($work_id)) { echo Display::display_warning_message(get_lang('ResourceLockedByGradebook')); } else { - $comments = getWorkComments($my_folder_data); + $comments = getWorkComments($work_item); $template = $tpl->get_template('work/comments.tpl'); $tpl->assign('work_comment_enabled', ALLOW_USER_COMMENTS);