diff options
author | Zach Copley <zach@status.net> | 2010-09-30 13:57:39 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-09-30 13:57:39 -0700 |
commit | 8a28d9cc4de896c154325c8ca0e346d78fc4c510 (patch) | |
tree | fa0241c15999cb6b68c4b14a8354b41581d1bbf1 /lib/disfavorform.php | |
parent | 8ad933c86f8593e61eea9692f863f9adaa6820b7 (diff) | |
parent | 3224f7fec9906b00684851759fcb476517d14e48 (diff) |
Merge branch 'anon-fave-plugin'
Diffstat (limited to 'lib/disfavorform.php')
-rw-r--r-- | lib/disfavorform.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/disfavorform.php b/lib/disfavorform.php index 5b135b38a..6023766d7 100644 --- a/lib/disfavorform.php +++ b/lib/disfavorform.php @@ -123,9 +123,13 @@ class DisfavorForm extends Form function formData() { - $this->out->hidden('notice-n'.$this->notice->id, - $this->notice->id, - 'notice'); + if (Event::handle('StartDisFavorNoticeForm', array($this, $this->notice))) { + $this->out->hidden('notice-n'.$this->notice->id, + $this->notice->id, + 'notice'); + Event::handle('EndDisFavorNoticeForm', array($this, $this->notice)); + } + } /** |