Gradebook: Fix syntax error

See cdd51ff841
pull/5783/head
Angel Fernando Quiroz Campos 1 year ago
parent cdd51ff841
commit 667722916b
No known key found for this signature in database
GPG Key ID: B284841AE3E562CD
  1. 6
      main/gradebook/lib/be/category.class.php

@ -928,7 +928,7 @@ class Category implements GradebookItem
$stud_id = null, $stud_id = null,
$type = null, $type = null,
$course_code = '', $course_code = '',
$session_id = null $session_id = null,
$forCertificate = 1 $forCertificate = 1
) { ) {
$key = 'category:'.$this->id.'student:'.(int) $stud_id.'type:'.$type.'course:'.$course_code.'session:'.(int) $session_id; $key = 'category:'.$this->id.'student:'.(int) $stud_id.'type:'.$type.'course:'.$course_code.'session:'.(int) $session_id;
@ -955,8 +955,8 @@ class Category implements GradebookItem
$links = $this->get_links($stud_id, false, $course_code, $session_id, $forCertificate); $links = $this->get_links($stud_id, false, $course_code, $session_id, $forCertificate);
} else { } else {
$cats = $this->get_subcategories($stud_id, '', $session_id, null, $forCertificate); $cats = $this->get_subcategories($stud_id, '', $session_id, null, $forCertificate);
$evals = $this->get_evaluations($stud_id, false, '', $session_id, $forCertificate)); $evals = $this->get_evaluations($stud_id, false, '', $session_id, $forCertificate);
$links = $this->get_links($stud_id, false, '', $session_id, $forCertificate)); $links = $this->get_links($stud_id, false, '', $session_id, $forCertificate);
} }
// Calculate score // Calculate score

Loading…
Cancel
Save