X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fregister.php;h=22a206e99794cdf486bdc3d7a6c2b7f3d7b1269e;hb=dbcc3b3d73d14d7c6843397ce2b3a12f0b60e3e1;hp=9c90e09587ad03935388c34bfe4cb7b675c522ea;hpb=93d42b4fcc6f055a428c9b63e386ac62c918d08a;p=platal.git diff --git a/modules/register.php b/modules/register.php index 9c90e09..22a206e 100644 --- a/modules/register.php +++ b/modules/register.php @@ -395,7 +395,7 @@ class RegisterModule extends PLModule $mymail->send(); // Index the user, to allow her to appear in searches. - Profile::rebuildSearchTokens($uid); + Profile::rebuildSearchTokens($pid); // Notify other users which were watching for her arrival. XDB::execute('REPLACE INTO contacts (uid, contact)