Changeset 1782

Show
Ignore:
Timestamp:
04/06/08 03:58:45 (4 months ago)
Author:
bchoate
Message:

Fix for 500 error from export. BugId:69902

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-33/lib/MT/CMS/Export.pm

    r1369 r1782  
    22 
    33use strict; 
     4use MT::Util qw( dirify ); 
    45 
    56sub start_export { 
     
    1819sub export { 
    1920    my $app = shift; 
    20     $app->{no_print_body} = 1; 
    21     local $| = 1; 
    2221    my $charset = $app->charset; 
    2322    require MT::Blog; 
     
    4342    } 
    4443 
     44    $app->{no_print_body} = 1; 
     45    local $| = 1; 
     46 
    4547    $app->set_header( "Content-Disposition" => "attachment; filename=$file" ); 
    4648    $app->send_http_header(