Skip to content

Commit

Permalink
Fix bug_report.php regressions
Browse files Browse the repository at this point in the history
Commit a7ae02d (issue #21683)
introduced 2 regressions when displaying bug report page:

- Confirmation message as '0': due to a missing parameter in the
  html_operation_confirmation() call
- Incorrect display of the footer: caused by an extra div tag

Fixes #21710
  • Loading branch information
dregad committed Sep 23, 2016
1 parent 4c2937e commit 9882d64
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bug_report.php
Expand Up @@ -327,7 +327,7 @@
array( string_get_bug_view_url( $t_bug_id ), sprintf( lang_get( 'view_submitted_bug_link' ), $t_bug_id ) ),
array( 'view_all_bug_page.php', lang_get( 'view_bugs_link' ) ),
);
html_operation_confirmation( $t_buttons, CONFIRMATION_TYPE_SUCCESS );
html_operation_confirmation( $t_buttons, '', CONFIRMATION_TYPE_SUCCESS );

if( $f_report_stay ) {
?>
Expand All @@ -352,9 +352,5 @@
</p>
<?php
}
?>
</div>
</div>

<?php
layout_page_end();

0 comments on commit 9882d64

Please sign in to comment.