Minor - Removing var_dumps

skala
Julio Montoya 13 years ago
parent d756830524
commit 0d5f41a0a0
  1. 3
      main/work/work.lib.php
  2. 3
      main/work/work.php

@ -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);
if (!empty($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);
$check = Security::check_token('post');
if ($student_can_edit_in_session && $check) {
//check the token inserted into the form

Loading…
Cancel
Save