@@ -6984,7 +6984,7 @@ |
||
6984 | 6984 | return "{$key} = {$sqlColumnValues[$key]}"; |
6985 | 6985 | }, array_keys($sqlColumnValues)) |
6986 | 6986 | ); |
6987 | - $sql = "UPDATE {$extrafieldsTable} SET {$sqlColumnValueString} WHERE fk_object = ".((int) $this->id); |
|
6987 | + $sql = "update {$extrafieldsTable} SET {$sqlColumnValueString} WHERE fk_object = ".((int) $this->id); |
|
6988 | 6988 | } else { |
6989 | 6989 | // We must insert a default value for fields for other entities that are mandatory to avoid not null error |
6990 | 6990 | $extrafieldsRequiredOnOtherEntities = $extrafields->attributes[$this->table_element]['mandatoryfieldsofotherentities'] ?? array(); |