summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-09-11 22:37:37 -0400
committerCraig Andrews <candrews@integralblue.com>2009-09-11 22:37:37 -0400
commit57feeb566a0cb2c544545dbfc616437cae69b923 (patch)
tree75f7517469afd3d6f48a3c54c9377a7bebeb5693 /actions
parentc04987018cd6c845c6da7a92d9857d8c651f7022 (diff)
Add a parameter named 'inreplyto' to the 'notice/new' page, so urls can inclue 'inreplyto' id's. Also add 'inreplyto' to the urls sent in emails.
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 00a822860..6e3720e09 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -431,13 +431,14 @@ class NewnoticeAction extends Action
$content = $this->trimmed('status_textarea');
if (!$content) {
$replyto = $this->trimmed('replyto');
+ $inreplyto = $this->trimmed('inreplyto');
$profile = Profile::staticGet('nickname', $replyto);
if ($profile) {
$content = '@' . $profile->nickname . ' ';
}
}
- $notice_form = new NoticeForm($this, '', $content);
+ $notice_form = new NoticeForm($this, '', $content, null, $inreplyto);
$notice_form->show();
}