Skip to content

Commit

Permalink
Fix #1369 corrolary where selecting a different number of users in th…
Browse files Browse the repository at this point in the history
…e course users list sent back to portal homepage
  • Loading branch information
ywarnier committed Aug 19, 2016
1 parent c3979a8 commit c81418b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main/user/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,7 @@ function modify_filter($user_id, $row, $data)

$result .= Display::url(
$text,
'user.php?'.api_get_cidreq(
).'&action=set_tutor&is_tutor='.$isTutor.'&user_id='.$user_id.'&type='.$type,
'user.php?'.api_get_cidreq().'&action=set_tutor&is_tutor='.$isTutor.'&user_id='.$user_id.'&type='.$type,
array('class' => 'btn btn-default '.$disabled)
).' ';
}
Expand Down Expand Up @@ -854,7 +853,6 @@ function hide_field()
$table = new SortableTable($tableLabel.'_list', 'get_number_of_users', 'get_user_data', $default_column);
$parameters['keyword'] = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
$parameters['sec_token'] = Security::get_token();
$parameters['cidReq'] = api_get_cidreq();
$parameters['id_session'] = api_get_session_id();
$parameters['type'] = $type;

Expand Down

0 comments on commit c81418b

Please sign in to comment.