Replaces the remaining Content-Type headers with calls to pl_content_header*.
[platal.git] / modules / register.php
index 9c90e09..22a206e 100644 (file)
@@ -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)