diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/newnotice.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php index e3974cd07..61f0f8365 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -141,9 +141,9 @@ class NewnoticeAction extends Action if ($cmd) { if ($this->boolean('ajax')) { - $cmd->execute(new AjaxWebChannel()); + $cmd->execute(new AjaxWebChannel($this)); } else { - $cmd->execute(new WebChannel()); + $cmd->execute(new WebChannel($this)); } return; } |