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

(-)a/cataloguing/value_builder/upload.pl (-1 / +1 lines)
Lines 103-108 sub plugin { Link Here
103
        if($id) {
103
        if($id) {
104
            my $OPACBaseURL = C4::Context->preference('OPACBaseURL');
104
            my $OPACBaseURL = C4::Context->preference('OPACBaseURL');
105
            $OPACBaseURL =~ s#/$##;
105
            $OPACBaseURL =~ s#/$##;
106
            $OPACBaseURL = "http://" . $OPACBaseURL if ( defined $OPACBaseURL and $OPACBaseURL !~ m|^http://| );
106
            my $return = "$OPACBaseURL/cgi-bin/koha/opac-retrieve-file.pl?id=$id";
107
            my $return = "$OPACBaseURL/cgi-bin/koha/opac-retrieve-file.pl?id=$id";
107
            $template->param(
108
            $template->param(
108
                success => 1,
109
                success => 1,
109
- 

Return to bug 6874