Skip to content

Commit

Permalink
Fix survey-invitations list query to use user.id instead of deprecate…
Browse files Browse the repository at this point in the history
…d user.user_id
  • Loading branch information
ywarnier committed Aug 20, 2017
1 parent 84ff496 commit 117ff60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/survey/survey_invitation.php
Expand Up @@ -92,7 +92,7 @@
$sql = "SELECT survey_invitation.*, user.firstname, user.lastname, user.email
FROM $table_survey_invitation survey_invitation
LEFT JOIN $table_user user
ON (survey_invitation.user = user.user_id AND survey_invitation.c_id = $course_id)
ON (survey_invitation.user = user.id AND survey_invitation.c_id = $course_id)
WHERE
survey_invitation.survey_code = '".Database::escape_string($survey_data['code'])."' ";

Expand Down

0 comments on commit 117ff60

Please sign in to comment.