fix typo in newnotice
there was a typo, and I removed it. darcs-hash:20080517195724-84dde-9a5bbde2f8be89dbeaf255e6ae8c5f392af63c64.gz
This commit is contained in:
parent
a0bdc80053
commit
a88e18e5af
|
@ -29,7 +29,7 @@ class NewnoticeAction extends Action {
|
||||||
common_user_error(_t('Not logged in.'));
|
common_user_error(_t('Not logged in.'));
|
||||||
} else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
} else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||||
$id = $this->save_new_notice();
|
$id = $this->save_new_notice();
|
||||||
# if ($id) {
|
if ($id) {
|
||||||
common_broadcast_notices($id);
|
common_broadcast_notices($id);
|
||||||
common_redirect(common_local_url('shownotice',
|
common_redirect(common_local_url('shownotice',
|
||||||
array('notice' => $id)), 303);
|
array('notice' => $id)), 303);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user