|
|
|
@ -811,7 +811,7 @@ if ($is_platform_admin && in_array($view, array('admin')) && $display != 'yourst |
|
|
|
if (!empty($exerciseId)) { |
|
|
|
if (!empty($exerciseId)) { |
|
|
|
$exerciseList = array(); |
|
|
|
$exerciseList = array(); |
|
|
|
$exerciseInfo = current(get_exercise_by_id($exerciseId, $_GET['course_id'])); |
|
|
|
$exerciseInfo = current(get_exercise_by_id($exerciseId, $_GET['course_id'])); |
|
|
|
$exerciseList[] = array('id' => $exerciseInfo['id'], 'text' => $exerciseInfo['title']); |
|
|
|
$exerciseList[] = array('id' => $exerciseInfo['id'], 'text' => html_entity_decode($exerciseInfo['title'])); |
|
|
|
} |
|
|
|
} |
|
|
|
$exerciseFilter->addElement('select_ajax', 'exercise_name', get_lang('SearchExercise'), null, array('url' => $url, 'defaults' => $exerciseList)); |
|
|
|
$exerciseFilter->addElement('select_ajax', 'exercise_name', get_lang('SearchExercise'), null, array('url' => $url, 'defaults' => $exerciseList)); |
|
|
|
$courseListUrl = api_get_self(); |
|
|
|
$courseListUrl = api_get_self(); |
|
|
|
|