We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9727731 commit 3f09f98Copy full SHA for 3f09f98
public/main/survey/surveyUtil.class.php
@@ -108,13 +108,15 @@ public static function saveAnswer(
108
$optionId = $optionId.'@:@'.$otherOption;
109
}
110
111
+ $sessionId = api_get_session_id();
112
$answer = new CSurveyAnswer();
113
$answer
114
->setUser($user)
115
->setSurvey($survey)
116
->setQuestion($question)
117
->setOptionId($optionId)
118
->setValue((int) $optionValue)
119
+ ->setSessionId($sessionId)
120
;
121
122
$em = Database::getManager();
0 commit comments