Minor - add redirect

pull/3376/head
Julio Montoya 5 years ago
parent b9e731d715
commit d9c6644f23
  1. 8
      main/work/work_list_all.php

@ -105,6 +105,8 @@ switch ($action) {
);
}
}
header('Location: '.api_get_self().'?'.api_get_cidreq().'&id='.$workId);
exit;
break;
case 'delete_correction':
$result = get_work_user_list(null, null, null, null, $workId);
@ -121,7 +123,6 @@ switch ($action) {
exit;
break;
case 'make_visible':
/* Visible */
if ($is_allowed_to_edit) {
if (!empty($itemId)) {
if (isset($itemId) && $itemId == 'all') {
@ -133,9 +134,10 @@ switch ($action) {
}
}
}
header('Location: '.api_get_self().'?'.api_get_cidreq().'&id='.$workId);
exit;
break;
case 'make_invisible':
/* Invisible */
if (!empty($itemId)) {
if (isset($itemId) && $itemId == 'all') {
} else {
@ -145,6 +147,8 @@ switch ($action) {
);
}
}
header('Location: '.api_get_self().'?'.api_get_cidreq().'&id='.$workId);
exit;
break;
case 'export_pdf':
exportAllStudentWorkFromPublication(

Loading…
Cancel
Save