@ -528,8 +528,7 @@ function display_student_publications_list($id, $link_target_parameter, $dateFor
$defaults['weight[weight]'] = $link_info['weight'];
if (!empty($link_info)) {
var_dump($link_info);
$defaults['category_id'] = $link_info['category_id'];
$defaults['make_calification'] = 1;
}
@ -527,8 +527,7 @@ switch ($action) {
break;
case 'upload':
$check = Security::check_token('post');
//var_dump($check);
if ($student_can_edit_in_session && $check) {
//check the token inserted into the form