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

(-)a/C4/HTML5Media.pm (-1 / +4 lines)
Lines 139-144 sub gethtml5media { Link Here
139
                hashvalue => $id, %public,
139
                hashvalue => $id, %public,
140
            })->next;
140
            })->next;
141
            next if !$upload || $upload->filename !~ /\./;
141
            next if !$upload || $upload->filename !~ /\./;
142
            if( !$public{public} &&
143
            !C4::Context->preference('OPACBaseURL') ) {
144
                $HTML5Media{srcblock} =~ s/opac-retrieve/opac\/opac-retrieve/;
145
            }
142
            $HTML5Media{extension} = ( $upload->filename =~ m/([^.]+)$/ )[0];
146
            $HTML5Media{extension} = ( $upload->filename =~ m/([^.]+)$/ )[0];
143
        }
147
        }
144
        # check remote files
148
        # check remote files
145
- 

Return to bug 17673