- XDB::execute('REPLACE INTO group_events
- SET eid = {?}, asso_id = {?}, uid = {?}, intitule = {?},
- paiement_id = {?}, descriptif = {?}, debut = {?},
- fin = {?}, show_participants = {?}, short_name = {?},
- deadline_inscription = {?}, noinvite = {?},
- accept_nonmembre = {?}',
+ XDB::execute('INSERT INTO group_events (eid, asso_id, uid, intitule, paiement_id,
+ descriptif, debut, fin, show_participants,
+ short_name, deadline_inscription, noinvite,
+ accept_nonmembre, subscription_notification)
+ VALUES ({?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?}, {?})
+ ON DUPLICATE KEY UPDATE asso_id = VALUES(asso_id), uid = VALUES(uid), intitule = VALUES(intitule),
+ paiement_id = VALUES(paiement_id), descriptif = VALUES(descriptif), debut = VALUES(debut),
+ fin = VALUES(fin), show_participants = VALUES(show_participants), short_name = VALUES(short_name),
+ deadline_inscription = VALUES(deadline_inscription), noinvite = VALUES(noinvite),
+ accept_nonmembre = VALUES(accept_nonmembre), subscription_notification = VALUES(subscription_notification)',