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

View File

@ -64,7 +64,7 @@ class NewnoticeAction extends Action {
array('nickname' => $user->nickname)); array('nickname' => $user->nickname));
} else { } else {
$url = common_local_url('shownotice', $url = common_local_url('shownotice',
array('notice' => $id)); array('notice' => $notice->id));
} }
common_redirect($url, 303); common_redirect($url, 303);
} }