From f2e3021b59f3661b3c900b06600a580b8970df2f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 20 Oct 2008 13:02:45 -0400 Subject: try to make replies point to the clicked-on notice darcs-hash:20081020170245-5ed1f-b84f63d9d9b589bd18f97924db547e348beb6647.gz --- actions/newnotice.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'actions') 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); -- cgit v1.2.3-54-g00ecf