diff --git a/main/admin/access_url_edit.php b/main/admin/access_url_edit.php index 46d7859b4c..a9671fc73a 100755 --- a/main/admin/access_url_edit.php +++ b/main/admin/access_url_edit.php @@ -6,7 +6,6 @@ * * @author Julio Montoya */ - $cidReset = true; require_once __DIR__.'/../inc/global.inc.php'; $this_section = SECTION_PLATFORM_ADMIN; diff --git a/main/mySpace/lp_tracking.php b/main/mySpace/lp_tracking.php index 1b0cb9fa7f..603e9b9a01 100755 --- a/main/mySpace/lp_tracking.php +++ b/main/mySpace/lp_tracking.php @@ -88,7 +88,7 @@ switch ($action) { if (!api_is_allowed_to_edit()) { api_not_allowed(); } - $tpl = new Template(null,false,false); + $tpl = new Template(null, false, false); $itemId = isset($_REQUEST['extend_id']) ? $_REQUEST['extend_id'] : 0; $itemViewId = isset($_REQUEST['extend_attempt_id']) ? $_REQUEST['extend_attempt_id'] : 0; $em = Database::getManager(); @@ -196,15 +196,11 @@ switch ($action) { $generalScore[] = [ 'score' => $scoreDisplay->display_score($globalScoreTotal, SCORE_DIV), 'score_numeric' => $scoreDisplay->display_score($globalScoreTotal, SCORE_NUMERIC), - 'score_percentage' => $scoreDisplay->display_score($globalScoreTotal, SCORE_PERCENT) + 'score_percentage' => $scoreDisplay->display_score($globalScoreTotal, SCORE_PERCENT), ]; $tpl->assign('general_score', $generalScore); $tpl->assign('global_total', $score); - - - - $table->setCellContents($row, 0, get_lang('GlobalTotal')); $table->setCellContents($row, 1, ''); $table->setCellContents($row, 2, $score); @@ -223,7 +219,6 @@ switch ($action) { 'candidate' => $studentName, ]; - $tpl->assign('data', $dataLpInfo); $template = $tpl->fetch($tpl->get_template('my_space/pdf_tracking_lp.tpl')); $contentText = $template;