projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release of plat/al 1.1.4
[platal.git]
/
modules
/
register.php
diff --git
a/modules/register.php
b/modules/register.php
index
fd9bdd3
..
990dee8
100644
(file)
--- a/
modules/register.php
+++ b/
modules/register.php
@@
-461,9
+461,9
@@
class RegisterModule extends PLModule
// Notify other users which were watching for her arrival.
XDB::execute('INSERT INTO contacts (uid, contact)
// Notify other users which were watching for her arrival.
XDB::execute('INSERT INTO contacts (uid, contact)
- SELECT uid,
ni_id
+ SELECT uid,
{?}
FROM watch_nonins
FROM watch_nonins
- WHERE ni_id = {?}', $uid);
+ WHERE ni_id = {?}', $
pid, $
uid);
XDB::execute('DELETE FROM watch_nonins
WHERE ni_id = {?}', $uid);
Platal::session()->updateNbNotifs();
XDB::execute('DELETE FROM watch_nonins
WHERE ni_id = {?}', $uid);
Platal::session()->updateNbNotifs();