diff options
author | Zach Copley <zach@status.net> | 2010-09-30 13:59:02 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-09-30 13:59:02 -0700 |
commit | 23c45d6c493ac08341d4c7e259a9c227c1f1970d (patch) | |
tree | bbca87731b1b7338c54942f26eee6e3be95f2a74 /lib/favorform.php | |
parent | bc2b72a8723054affc4c71ab9ae55cf40aba7447 (diff) | |
parent | 3224f7fec9906b00684851759fcb476517d14e48 (diff) |
Merge branch 'anon-fave-plugin' into 0.9.x
Diffstat (limited to 'lib/favorform.php')
-rw-r--r-- | lib/favorform.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/favorform.php b/lib/favorform.php index 625df7c8b..4e2891ffd 100644 --- a/lib/favorform.php +++ b/lib/favorform.php @@ -123,9 +123,12 @@ class FavorForm extends Form function formData() { - $this->out->hidden('notice-n'.$this->notice->id, - $this->notice->id, - 'notice'); + if (Event::handle('StartFavorNoticeForm', array($this, $this->notice))) { + $this->out->hidden('notice-n'.$this->notice->id, + $this->notice->id, + 'notice'); + Event::handle('EndFavorNoticeForm', array($this, $this->notice)); + } } /** |