Skip to content

Commit

Permalink
Fixed problem with CSV not downloading. Added a die call in view_all_…
Browse files Browse the repository at this point in the history
…set.php after the print_header(). Also removed view_csv_export_inc.php (unused).

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@962 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed May 15, 2002
1 parent 297fb93 commit 673c58a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 24 deletions.
3 changes: 2 additions & 1 deletion core_html_API.php
Expand Up @@ -299,7 +299,8 @@ function print_menu() {
PRINT "<td class=\"menu\">";
PRINT "<a href=\"$g_main_page\">$s_main_link</a> | ";
PRINT "<a href=\"$g_view_all_bug_page\">$s_view_bugs_link</a> | ";
if ( access_level_check_greater_or_equal( REPORTER ) ) {
$t_project_status = get_project_field( $g_project_cookie_val, "status" );
if (( access_level_check_greater_or_equal( REPORTER ) )&&( 70 != $t_project_status )) {
if ( "0000000" != $g_project_cookie_val ) {
$t_report_url = get_report_redirect_url( 1 );
PRINT "<a href=\"$t_report_url\">$s_report_bug_link</a> | ";
Expand Down
5 changes: 5 additions & 0 deletions doc/ChangeLog
Expand Up @@ -3,6 +3,11 @@ Mantis
* Added capability to monitor bugs even when not reporter or handler
* Added basic private bug functionality

05.19.2002 - 0.17.3

* Fixed problem with CSV not downloading.
* Removed view_csv_export_inc.php (unused).

05.12.2002 - 0.17.2

* Fixed error in set_project where setting a project would result in a loop.
Expand Down
5 changes: 5 additions & 0 deletions view_all_set.php
Expand Up @@ -9,6 +9,11 @@
<?php
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

if ( isset( $f_csv ) ) {
print_header_redirect( $g_view_all_bug_page."?f_csv=1" );
die;
}

if ( !isset( $f_type ) ) {
print_header_redirect( $g_view_all_bug_page );
}
Expand Down
23 changes: 0 additions & 23 deletions view_csv_export_inc.php

This file was deleted.

0 comments on commit 673c58a

Please sign in to comment.