View | Details | Raw Unified | Return to bug 19200
Collapse All | Expand All

(-)a/acqui/basket.pl (-8 / +1 lines)
Lines 171-183 if ( $op eq 'delete_confirm' ) { Link Here
171
        -attachment => 'basket' . $basket->{'basketno'} . '.csv',
171
        -attachment => 'basket' . $basket->{'basketno'} . '.csv',
172
    );
172
    );
173
    my $csv_profile_id = $query->param('csv_profile');
173
    my $csv_profile_id = $query->param('csv_profile');
174
    if (defined $csv_profile_id) {
174
    print GetBasketAsCSV( scalar $query->param('basketno'), $query, $csv_profile_id ); # if no csv_profile_id passed, using default rows
175
        # using a csv profile
176
        print GetBasketAsCSV(scalar $query->param('basketno'), $query, $csv_profile_id);
177
    } else {
178
        # using default
179
        print GetBasketAsCSV(scalar $query->param('basketno'), $query);
180
    }
181
    exit;
175
    exit;
182
} elsif ($op eq 'email') {
176
} elsif ($op eq 'email') {
183
    my $err = eval {
177
    my $err = eval {
184
- 

Return to bug 19200