mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-13 23:39:35 +00:00
coodle voting minor fix
This commit is contained in:
@@ -115,7 +115,7 @@ class CoodleSurveyParticipant_model extends DB_Model
|
||||
|
||||
public function updateSelection($surveyId, $participantUid, $selection)
|
||||
{
|
||||
$selectionUpdateQuery = "UPDATE $this->dbTable SET selection = $selection WHERE survey_id = $surveyId AND participant_uid = '$participantUid'";
|
||||
$selectionUpdateQuery = "UPDATE $this->dbTable SET selection = '$selection' WHERE survey_id = $surveyId AND participant_uid = '$participantUid'";
|
||||
$this->execQuery($selectionUpdateQuery);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user