summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/newnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index e8fa832a6..e80c03031 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -52,7 +52,7 @@ class NewnoticeAction extends Action {
$inter = new CommandInterpreter();
- $cmd = $inter->handle_command($user, $text);
+ $cmd = $inter->handle_command($user, $content);
if ($cmd) {
$cmd->execute(new WebChannel());