Change added in line 224 too -refs #6175

1.9.x
Yoselyn Castillo 12 years ago
parent baba9388f9
commit 0e854bcb75
  1. 4
      main/survey/fillsurvey.php

@ -221,7 +221,9 @@ if (count($_POST) > 0) {
while ($row = Database::fetch_array($result, 'ASSOC')) {
$types[$row['question_id']] = $row['type'];
}
if ($survey_data['anonymous'] == 0) {
$survey_invitation['user'] = api_get_user_id();
}
// Looping through all the post values
foreach ($_POST as $key => & $value) {
// If the post value key contains the string 'question' then it is an answer to a question

Loading…
Cancel
Save