fix typo in newnotice

there was a typo, and I removed it.

darcs-hash:20080517195724-84dde-9a5bbde2f8be89dbeaf255e6ae8c5f392af63c64.gz
This commit is contained in:
Evan Prodromou 2008-05-17 15:57:24 -04:00
parent a0bdc80053
commit a88e18e5af

View File

@ -29,7 +29,7 @@ class NewnoticeAction extends Action {
common_user_error(_t('Not logged in.'));
} else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$id = $this->save_new_notice();
# if ($id) {
if ($id) {
common_broadcast_notices($id);
common_redirect(common_local_url('shownotice',
array('notice' => $id)), 303);