diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-08-21 16:58:02 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-08-21 16:58:02 -0400 |
commit | c9f9b011c84464d38d325ba16ea2cae66a29acaf (patch) | |
tree | 993ba82f930e5dd56703be1ac549b0cd856be765 | |
parent | 9aa39c757396e66ad959adc9fda63bfd0a869e8b (diff) |
use array for events
-rw-r--r-- | actions/doc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/doc.php b/actions/doc.php index 7387c1620..6f3a87e48 100644 --- a/actions/doc.php +++ b/actions/doc.php @@ -62,7 +62,7 @@ class DocAction extends Action $this->title = $this->trimmed('title'); $this->output = null; - if (Event::handle('StartLoadDoc', &$this->title, &$this->output)) { + if (Event::handle('StartLoadDoc', array(&$this->title, &$this->output))) { $this->filename = INSTALLDIR.'/doc-src/'.$this->title; if (!file_exists($this->filename)) { @@ -73,7 +73,7 @@ class DocAction extends Action $c = file_get_contents($this->filename); $this->output = common_markup_to_html($c); - Event::handle('EndLoadDoc', $this->title, &$this->output); + Event::handle('EndLoadDoc', array($this->title, &$this->output)); } $this->showPage(); |