summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-11 14:11:58 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-11 14:11:58 -0400
commit0bba990e2f4506da877224285442c81f68662743 (patch)
treedf327bc10e3998f80581b13b759fefa4ad7e0cc4 /actions
parent37a47f3d57dd66ecc9779aeb77da04cd81308e2b (diff)
fix problem with new notices
darcs-hash:20080811181158-84dde-338f926bd4c161ea55ef8600fac254f216413ad4.gz
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);
}