Merge pull request #607 from ilosada/7588

C#7588 - Fix bad url
1.10.x
Yannick Warnier 10 years ago
commit dd5e08c265
  1. 4
      main/exercice/overview.php

@ -152,7 +152,7 @@ $current_browser = $browser->getBrowser();
$url_suffix = '';
$btn_class = 'ajax ';
if ($current_browser == 'Internet Explorer') {
$url_suffix = '&show_headers=1';
$url_suffix = '&show_headers=1';
$btn_class = '';
}
@ -164,7 +164,7 @@ if (!empty($attempts) && $visible_return['value'] == true) {
$attempt_result['exe_result'],
$attempt_result['exe_weighting']
);
$attempt_url = api_get_path(WEB_CODE_PATH) . 'exercice/result.php?' . api_get_cidreq() . '&id=' . $attempt_result['exe_id'] . '&id_session=' . api_get_session_id() . '&height=500&width=950' . $url_suffix;
$attempt_url = api_get_path(WEB_CODE_PATH) . 'exercice/result.php?' . api_get_cidreq() . '&id=' . $attempt_result['exe_id'] . '&height=500&width=950' . $url_suffix;
$attempt_link = Display::url(
get_lang('Show'),
$attempt_url,

Loading…
Cancel
Save