[svn r17310] minor - logic changes - it show qualification of exercises - (partial FS#3249)

skala
Isaac Flores 16 years ago
parent cd33ae677a
commit 3e4c0df39c
  1. 3
      main/gradebook/lib/be/exerciselink.class.php

@ -122,9 +122,8 @@ class ExerciseLink extends AbstractLink
$tbl_stats_e_attempt_recording as r
ON (e.exe_id =r.exe_id)
WHERE e.exe_cours_id = '".$this->get_course_code()."'AND
e.exe_id = '".$this->get_ref_id()."' AND author != '' AND exe_user_id = '$stud_id' ORDER BY e.exe_id DESC ";
e.exe_id = '".$stud_id."' AND author != '' AND exe_user_id = '$stud_id' ORDER BY e.exe_id DESC ";
$scores = api_sql_query($sql, __FILE__, __LINE__);
if ($data=mysql_fetch_array($scores))
{
return array ($data['exe_result'], $data['exe_weighting']);

Loading…
Cancel
Save