Browse Source

Fragment to reach the appropriate PM from the link in to the notification email - Thanks Illori for the report

Signed-off-by: emanuele <[email protected]>
emanuele 12 years ago
parent
commit
94402ceaf4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/Subs-Post.php

+ 1 - 1
Sources/Subs-Post.php

@@ -1138,7 +1138,7 @@ function sendpm($recipients, $subject, $message, $store_outbox = false, $from =
 		'SUBJECT' => $subject,
 		'MESSAGE' => $message,
 		'SENDER' => un_htmlspecialchars($from['name']),
-		'READLINK' => $scripturl . '?action=pm;pmsg=' . $id_pm,
+		'READLINK' => $scripturl . '?action=pm;pmsg=' . $id_pm . '#msg' . $id_pm,
 		'REPLYLINK' => $scripturl . '?action=pm;sa=send;f=inbox;pmsg=' . $id_pm . ';quote;u=' . $from['id'],
 		'TOLIST' => implode(', ', $to_names),
 	);