projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec34fd
)
Fixes contact addition on registration.
author
Stéphane Jacob
<sj@m4x.org>
Fri, 28 Oct 2011 08:27:41 +0000
(10:27 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Fri, 28 Oct 2011 08:27:41 +0000
(10:27 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/register.php
patch
|
blob
|
blame
|
history
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)
- SELECT uid,
ni_id
+ SELECT uid,
{?}
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();