Start replacing tables with div-tags and css-classes

This commit is contained in:
Andreas Grabs
2010-05-02 12:00:56 +00:00
parent fcce139aa3
commit 31c0fa53b0
10 changed files with 188 additions and 161 deletions
+1 -1
View File
@@ -1932,7 +1932,7 @@ function feedback_get_current_completed($feedbackid, $tmp = false, $courseid = f
$params['userid'] = $USER->id;
}
//if courseid is set the feedback is global. there can be more than one completed on one feedback
$sql = "SELECT fc.*
$sql = "SELECT DISTINCT fc.*
FROM {feedback_value{$tmpstr}} fv, {feedback_completed{$tmpstr}} fc
WHERE fv.course_id = :courseid
AND fv.completed = fc.id