Fix issue updating all users from survey profile form - refs #2331

pull/2458/head
Yannick Warnier 8 years ago
parent 1444f08863
commit 984291c449
  1. 1
      main/survey/fillsurvey.php

@ -560,6 +560,7 @@ if ($survey_data['form_fields'] &&
} }
// Remove trailing , from the query we have so far // Remove trailing , from the query we have so far
$sql = rtrim($sql, ','); $sql = rtrim($sql, ',');
$sql .= " WHERE id = $user_id";
if ($update) { if ($update) {
Database::query($sql); Database::query($sql);

Loading…
Cancel
Save