Permalink
Browse files

Solved little bug counting survey_answers (due to fast copy/paste !!)

:-)
  • Loading branch information...
stronk7
stronk7 committed Jun 3, 2003
1 parent 686dde9 commit 78bb2765bc4717c9c0a557f74304834c457acfb4
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/mod/survey/backuplib.php
@@ -166,7 +166,7 @@ function survey_answer_ids_by_course ($course) {
return get_records_sql ("SELECT s.id , s.survey
FROM {$CFG->prefix}survey_answers s,
- {$CFG->prefix}forum a
+ {$CFG->prefix}survey a
WHERE a.course = '$course' AND
s.survey = a.id");
}

0 comments on commit 78bb276

Please sign in to comment.