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

(-)a/C4/Biblio.pm (-7 / +10 lines)
Lines 1488-1494 sub GetMarcPrice { Link Here
1488
1488
1489
    my @listtags;
1489
    my @listtags;
1490
    my $subfield;
1490
    my $subfield;
1491
    
1491
1492
    if ( $marcflavour eq "MARC21" ) {
1492
    if ( $marcflavour eq "MARC21" ) {
1493
        @listtags = ('345', '020');
1493
        @listtags = ('345', '020');
1494
        $subfield="c";
1494
        $subfield="c";
Lines 3500-3507 sub get_biblio_authorised_values { Link Here
3500
3500
3501
=head2 CountBiblioInOrders
3501
=head2 CountBiblioInOrders
3502
3502
3503
=over 4
3503
=over
3504
$count = &CountBiblioInOrders( $biblionumber);
3504
3505
=item $count = &CountBiblioInOrders( $biblionumber);
3505
3506
3506
=back
3507
=back
3507
3508
Lines 3523-3530 sub CountBiblioInOrders { Link Here
3523
3524
3524
=head2 GetSubscriptionsId
3525
=head2 GetSubscriptionsId
3525
3526
3526
=over 4
3527
=over
3527
$subscriptions = &GetSubscriptionsId($biblionumber);
3528
3529
=item $subscriptions = &GetSubscriptionsId($biblionumber);
3528
3530
3529
=back
3531
=back
3530
3532
Lines 3546-3553 sub GetSubscriptionsId { Link Here
3546
3548
3547
=head2 GetHolds
3549
=head2 GetHolds
3548
3550
3549
=over 4
3551
=over
3550
$holds = &GetHolds($biblionumber);
3552
3553
=item $holds = &GetHolds($biblionumber);
3551
3554
3552
=back
3555
=back
3553
3556
(-)a/C4/UploadedFiles.pm (-1 / +1 lines)
Lines 180-186 sub UploadFile { Link Here
180
        return $id;
180
        return $id;
181
    }
181
    }
182
182
183
    return undef;
183
    return;
184
}
184
}
185
185
186
=head2 DelUploadedFile
186
=head2 DelUploadedFile
(-)a/cataloguing/value_builder/upload.pl (-1 / +1 lines)
Lines 140-146 sub finddirs { Link Here
140
    my $base = shift || $upload_path;
140
    my $base = shift || $upload_path;
141
    my $found = 0;
141
    my $found = 0;
142
    my @dirs;
142
    my @dirs;
143
    my @files = <$base/*>;
143
    my @files = glob("$base/*");
144
    foreach (@files) {
144
    foreach (@files) {
145
        if (-d $_ and -w $_) {
145
        if (-d $_ and -w $_) {
146
            my $lastdirname = basename($_);
146
            my $lastdirname = basename($_);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/upload.tt (-1 / +1 lines)
Lines 4-10 Link Here
4
<head>
4
<head>
5
    <title>Upload plugin</title>
5
    <title>Upload plugin</title>
6
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
    <script type="text/javascript" src="[% themelang %]/lib/jquery/jquery.js"></script>
7
    <script type="text/javascript" src="/intranet-tmpl/lib/jquery/jquery.js"></script>
8
    <link rel="stylesheet" type="text/css" href="[% themelang %]/css/staff-global.css" />
8
    <link rel="stylesheet" type="text/css" href="[% themelang %]/css/staff-global.css" />
9
9
10
</head>
10
</head>
(-)a/opac/opac-retrieve-file.pl (-3 / +2 lines)
Lines 32-43 exit 1 if not $file; Link Here
32
my $file_path = $file->{filepath};
32
my $file_path = $file->{filepath};
33
33
34
if( -f $file_path ) {
34
if( -f $file_path ) {
35
    open FH, '<', $file_path or die "Can't open file: $!";
35
    open my $fh, '<', $file_path or die "Can't open file: $!";
36
    print $input->header(
36
    print $input->header(
37
        -type => "application/octet-stream",
37
        -type => "application/octet-stream",
38
        -attachment => $file->{filename}
38
        -attachment => $file->{filename}
39
    );
39
    );
40
    while(<FH>) {
40
    while(<$fh>) {
41
        print $_;
41
        print $_;
42
    }
42
    }
43
} else {
43
} else {
44
- 

Return to bug 6874