From: mudrd8mz Date: Mon, 27 Jul 2009 16:47:44 +0000 (+0000) Subject: MDL-16597 Fixed typo - missing slash X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ce13edc4c67ab89805e23251c502bfada5ebff53;p=moodle.git MDL-16597 Fixed typo - missing slash --- diff --git a/lib/form/filemanager.php b/lib/form/filemanager.php index ff0e56e45c..88036cba6d 100644 --- a/lib/form/filemanager.php +++ b/lib/form/filemanager.php @@ -113,7 +113,7 @@ class MoodleQuickForm_filemanager extends HTML_QuickForm_element { $filesize = $filesize ? display_size($filesize) : ''; $icon = mimeinfo_from_type('icon', $file->get_mimetype()); $icon = str_replace('.gif', '', $icon); //TODO: temp icon fix - $viewurl = file_encode_url("$CFG->wwwroot/draftfile.php", "/$context->id/user_draft/$draftid".$fullname, false, false); + $viewurl = file_encode_url("$CFG->wwwroot/draftfile.php", "/$context->id/user_draft/$draftid/".$fullname, false, false); $html .= '
  • '; $html .= "old_icon_url('f/' . $icon) . "\" class=\"icon\" /> ".s($fullname)." ($filesize) "; // TODO: maybe better use file->id here - but then make 100% it is from my own draftfiles ;-)