Don't add PHPSESSID parameter onto notice and conversation URIs if we save a notice during a session override.

This was being triggered by welcomebot messages created at account creation time, then propagated through replies.
This commit is contained in:
Brion Vibber
2010-03-23 09:50:01 -07:00
parent a5c78a6f1a
commit 2d79455a1f
2 changed files with 4 additions and 2 deletions

View File

@@ -1529,7 +1529,8 @@ function common_user_uri(&$user)
function common_notice_uri(&$notice)
{
return common_local_url('shownotice',
array('notice' => $notice->id));
array('notice' => $notice->id),
null, null, false);
}
// 36 alphanums - lookalikes (0, O, 1, I) = 32 chars = 5 bits