diff --git a/main/exercise/exercise_result.php b/main/exercise/exercise_result.php index e553e1ffb7..5014d8bbbc 100755 --- a/main/exercise/exercise_result.php +++ b/main/exercise/exercise_result.php @@ -210,7 +210,7 @@ if ($origin != 'learnpath') { } else { $lp_mode = isset($_SESSION['lp_mode']) ? $_SESSION['lp_mode'] : null; $url = '../lp/lp_controller.php?'.api_get_cidreq().'&action=view&lp_id='.$learnpath_id.'&lp_item_id='.$learnpath_item_id.'&exeId='.$exercise_stat_info['exe_id'].'&fb_type='.$objExercise->feedback_type.'#atoc_'.$learnpath_item_id; - $href = ($lp_mode == 'fullscreen') ? ' window.opener.location.href="'.$url.'" ' : ' top.location.href="'.$url.'"'; + $href = $lp_mode == 'fullscreen' ? ' window.opener.location.href="'.$url.'" ' : ' top.location.href="'.$url.'"'; if (api_is_allowed_to_session_edit()) { Session::erase('objExercise');