]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
show error in delete notice
authorEvan Prodromou <evan@prodromou.name>
Fri, 29 Aug 2008 02:55:59 +0000 (22:55 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 29 Aug 2008 02:55:59 +0000 (22:55 -0400)
darcs-hash:20080829025559-84dde-bd29b5e6750a1ff72bd39e8e76bde325b0313fb8.gz

actions/deletenotice.php

index af620f036f18734bdad6412a84bd2b9eb0faf28b..0db7e0d1eec462d227c4a85f55d8ce09eff87bdb 100644 (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',