aboutsummaryrefslogtreecommitdiff
path: root/classes/Conversation.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-23 09:50:01 -0700
committerBrion Vibber <brion@pobox.com>2010-03-23 09:54:24 -0700
commit2d79455a1fb7627a23a6ca77fbab060193f6c43a (patch)
tree76baa70dce29275ae97c89b1e906e00180ebc736 /classes/Conversation.php
parenta5c78a6f1a7bef591e136ca23f7a133f8905475a (diff)
downloadgnu-social-2d79455a1fb7627a23a6ca77fbab060193f6c43a.tar
gnu-social-2d79455a1fb7627a23a6ca77fbab060193f6c43a.zip
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.
Diffstat (limited to 'classes/Conversation.php')
-rwxr-xr-xclasses/Conversation.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/Conversation.php b/classes/Conversation.php
index ea8bd87b56..f540004ef3 100755
--- a/classes/Conversation.php
+++ b/classes/Conversation.php
@@ -63,7 +63,8 @@ class Conversation extends Memcached_DataObject
}
$orig = clone($conv);
- $orig->uri = common_local_url('conversation', array('id' => $id));
+ $orig->uri = common_local_url('conversation', array('id' => $id),
+ null, null, false);
$result = $orig->update($conv);
if (empty($result)) {