projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
REPLACE INTO should only be used if the data deletion is wanted.
[platal.git]
/
modules
/
xnetevents
/
xnetevents.inc.php
diff --git
a/modules/xnetevents/xnetevents.inc.php
b/modules/xnetevents/xnetevents.inc.php
index
feabfdb
..
a4ba097
100644
(file)
--- a/
modules/xnetevents/xnetevents.inc.php
+++ b/
modules/xnetevents/xnetevents.inc.php
@@
-198,8
+198,8
@@
function subscribe_lists_event($uid, $evt, $participate, $paid, $payment = false
function subscribe($list, $email)
{
if ($list && $email) {
- XDB::execute('
REPLAC
E INTO virtual_redirect
- VALUES ({?}, {?})',
+ XDB::execute('
INSERT IGNOR
E INTO virtual_redirect
+
VALUES ({?}, {?})',
$list, $email);
}
}