summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 8de6643a0..b576e1326 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -64,7 +64,7 @@ class NewnoticeAction extends Action {
array('nickname' => $user->nickname));
} else {
$url = common_local_url('shownotice',
- array('notice' => $id));
+ array('notice' => $notice->id));
}
common_redirect($url, 303);
}