@@ -146,21 +146,21 @@ protected function migrateFkToUnsignedInt() {
146146 global $ DB ;
147147
148148 $ table = 'glpi_plugin_formcreator_formanswers ' ;
149- $ DB ->queryOrDie ("UPDATE ` $ table`, SET `requester_id` = 0 WHERE `requester_id` IS NULL " );
149+ $ DB ->queryOrDie ("UPDATE ` $ table` SET `requester_id` = 0 WHERE `requester_id` IS NULL " );
150150
151151 $ table = 'glpi_plugin_formcreator_targetchanges ' ;
152- $ DB ->queryOrDie ("UPDATE ` $ table`, SET `due_date_question` = 0 WHERE `due_date_question` IS NULL " );
153- $ DB ->queryOrDie ("UPDATE ` $ table`, SET `destination_entity_value` = 0 WHERE `destination_entity_value` IS NULL " );
152+ $ DB ->queryOrDie ("UPDATE ` $ table` SET `due_date_question` = 0 WHERE `due_date_question` IS NULL " );
153+ $ DB ->queryOrDie ("UPDATE ` $ table` SET `destination_entity_value` = 0 WHERE `destination_entity_value` IS NULL " );
154154
155155 $ table = 'glpi_plugin_formcreator_targettickets ' ;
156- $ DB ->queryOrDie ("UPDATE ` $ table`, SET `due_date_question` = 0 WHERE `due_date_question` IS NULL " );
157- $ DB ->queryOrDie ("UPDATE ` $ table`, SET `destination_entity_value` = 0 WHERE `destination_entity_value` IS NULL " );
156+ $ DB ->queryOrDie ("UPDATE ` $ table` SET `due_date_question` = 0 WHERE `due_date_question` IS NULL " );
157+ $ DB ->queryOrDie ("UPDATE ` $ table` SET `destination_entity_value` = 0 WHERE `destination_entity_value` IS NULL " );
158158
159159 $ table = 'glpi_plugin_formcreator_targetproblems ' ;
160- $ DB ->queryOrDie ("UPDATE ` $ table`, SET `destination_entity_value` = 0 WHERE `destination_entity_value` IS NULL " );
160+ $ DB ->queryOrDie ("UPDATE ` $ table` SET `destination_entity_value` = 0 WHERE `destination_entity_value` IS NULL " );
161161
162162 $ table = 'glpi_plugin_formcreator_targets_actors ' ;
163- $ DB ->queryOrDie ("UPDATE ` $ table`, SET `actor_value` = 0 WHERE `actor_value` IS NULL " );
163+ $ DB ->queryOrDie ("UPDATE ` $ table` SET `actor_value` = 0 WHERE `actor_value` IS NULL " );
164164
165165 $ tables = [
166166 'glpi_plugin_formcreator_answers ' => [
0 commit comments