Minor - format code

pull/3759/head
Julio 5 years ago
parent a308c202e6
commit c3c09fea62
  1. 11
      main/lp/lp_view.php
  2. 2
      main/survey/survey.lib.php

@ -350,13 +350,12 @@ if (!empty($_REQUEST['exeId']) &&
Exercise::saveExerciseInLp($safe_item_id, $safe_exe_id); Exercise::saveExerciseInLp($safe_item_id, $safe_exe_id);
} }
/*if (intval($_GET['fb_type']) != EXERCISE_FEEDBACK_TYPE_END) { /*if (intval($_GET['fb_type']) != EXERCISE_FEEDBACK_TYPE_END) {
$src = 'blank.php?msg=exerciseFinished&'.api_get_cidreq(true, true, 'learnpath'); $src = 'blank.php?msg=exerciseFinished&'.api_get_cidreq(true, true, 'learnpath');
} else {*/ } else {*/
$src = api_get_path(WEB_CODE_PATH).'exercise/result.php?id='.$safe_exe_id.'&'.api_get_cidreq(true, true, 'learnpath'); $src = api_get_path(WEB_CODE_PATH).'exercise/result.php?id='.$safe_exe_id.'&'.api_get_cidreq(true, true, 'learnpath');
if ($debug) { if ($debug) {
error_log('Calling URL: '.$src); error_log('Calling URL: '.$src);
} }
//}
$autostart = 'false'; $autostart = 'false';
} }

@ -2392,7 +2392,7 @@ class SurveyManager
/** /**
* @param array $surveyData * @param array $surveyData
* @param string $type by_class or by_user * @param string $type by_class or by_user
* *
* @return bool * @return bool
*/ */

Loading…
Cancel
Save