show error in delete notice

darcs-hash:20080829025559-84dde-bd29b5e6750a1ff72bd39e8e76bde325b0313fb8.gz
This commit is contained in:
Evan Prodromou 2008-08-28 22:55:59 -04:00
parent dd55916d56
commit 93e67c7133

View File

@ -44,7 +44,7 @@ class DeletenoticeAction extends DeleteAction {
function show_form($error=NULL) {
$user = common_current_user();
common_show_header($this->get_title(), array($this, 'show_header'), NULL,
common_show_header($this->get_title(), array($this, 'show_header'), $error,
array($this, 'show_top'));
common_element_start('form', array('id' => 'notice_delete_form',
'method' => 'post',