From c6d22e4cea3c875fd5ea1e10483fc28060887b4b Mon Sep 17 00:00:00 2001 From: sarven Date: Thu, 15 Jan 2009 19:22:03 +0000 Subject: [PATCH] Extended formData()'s hidden to use a specific @id and @name --- lib/noticeform.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/noticeform.php b/lib/noticeform.php index 0a4f486db2..9bc5e0d6a3 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -143,12 +143,10 @@ class NoticeForm extends Form $this->out->elementEnd('dl'); if ($this->action) { - // FIXME: or VERIFY that notice_return-to doesn't break anything. Changed from 'returnto' - $this->out->hidden('notice_return-to', $this->action); + $this->out->hidden('notice_return-to', $this->action, 'returnto'); } - // FIXME: Does this need to be checked like returnto? - $this->out->hidden('notice_in-reply-to', $this->action); + $this->out->hidden('notice_in-reply-to', $this->action, 'inreplyto'); }