fix problem with new notices

darcs-hash:20080811181158-84dde-338f926bd4c161ea55ef8600fac254f216413ad4.gz
This commit is contained in:
Evan Prodromou 2008-08-11 14:11:58 -04:00
parent 37a47f3d57
commit 0bba990e2f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}