Commit e7f95427 authored by Andrew Robert Nicols's avatar Andrew Robert Nicols Committed by Richard Mansfield
Browse files

Corrected & to & in URL for internalmedia (Fixes #3438).

Corrected & to & in URL for internalmedia (Fixes #3438).
parent 67e96ae7
......@@ -372,7 +372,7 @@ class PluginBlocktypeInternalmedia extends PluginBlocktype {
private static function get_download_link(ArtefactTypeFile $artefact, BlockInstance $instance, $wmp=false) {
return get_config('wwwroot') . 'artefact/file/download.php?file='
. $artefact->get('id') . '&view=' . $instance->get('view')
. $artefact->get('id') . '&view=' . $instance->get('view')
. ($wmp ? '&download=1' : '');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment