Minor - format code

pull/2913/head
Julio Montoya 7 years ago
parent d4106f2971
commit bc9c546a50
  1. 1
      main/gradebook/lib/be/category.class.php
  2. 1
      main/gradebook/lib/gradebook_result.class.php

@ -987,7 +987,6 @@ class Category implements GradebookItem
$session_id $session_id
); );
$catweight = 0; $catweight = 0;
if ($cat->get_weight() != 0) { if ($cat->get_weight() != 0) {
$catweight = $cat->get_weight(); $catweight = $cat->get_weight();

@ -38,7 +38,6 @@ class GradeBookResult
if (isset($header_col['header'])) { if (isset($header_col['header'])) {
$data .= str_replace("\r\n", ' ', api_html_entity_decode(strip_tags($header_col['header']))).';'; $data .= str_replace("\r\n", ' ', api_html_entity_decode(strip_tags($header_col['header']))).';';
} }
} else { } else {
$data .= str_replace("\r\n", ' ', api_html_entity_decode(strip_tags($header_col))).';'; $data .= str_replace("\r\n", ' ', api_html_entity_decode(strip_tags($header_col))).';';
} }

Loading…
Cancel
Save