summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-10-20 13:02:45 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-10-20 13:02:45 -0400
commitf2e3021b59f3661b3c900b06600a580b8970df2f (patch)
tree60a0c01fa990a7fc3b44571f93961c612868e88e /actions
parentb2f0ad1cccc4bebbf264c4ab61a37173c9a565cc (diff)
try to make replies point to the clicked-on notice
darcs-hash:20081020170245-5ed1f-b84f63d9d9b589bd18f97924db547e348beb6647.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index e80c03031..ac630eed0 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -58,8 +58,10 @@ class NewnoticeAction extends Action {
$cmd->execute(new WebChannel());
return;
}
+
+ $replyto = $this->trimmed('inreplyto');
- $notice = Notice::saveNew($user->id, $content, 'web');
+ $notice = Notice::saveNew($user->id, $content, 'web', $replyto);
if (is_string($notice)) {
$this->show_form($notice);