View Issue Details

IDProjectCategoryView StatusLast Update
0005745mantisbtcsvpublic2005-07-23 02:28
Reporterdamian742 Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0a3 
Fixed in Version1.0.0rc1 
Summary0005745: CSV export is corrupt
Description

Click on export to CSV and it fails to load into excel2000. Save it to file and open with a text editor and it contains:

ID,Project,Reporter,Assigned To,Priority,Severity,Reproducibility,Product Version,Projection,Category,Date Submitted,ETA,OS,OS Version,Platform,View Status,Updated,Summary,Status,Resolution,Fixed in Version


Fatal error: Call to undefined function: ob_get_clean() in /srv/www/htdocs/mantis/csv_export.php on line 76

TagsNo tags attached.

Activities

vboctor

vboctor

2005-06-08 18:05

manager   ~0010437

The problem is that this function was introduced in PHP 4.3.0, add the following code to core/php_api.php.

--------------------

ob_get_clean() added in PHP 4.3.0

if ( !function_exists( 'ob_get_clean' ) ) {
function ob_get_clean() {
$t_contents = ob_get_contents();
ob_end_clean();

    return $t_contents;
}

}