From: skodak Date: Wed, 24 May 2006 21:54:51 +0000 (+0000) Subject: fixed my yet another bug; merged from MOODLE_16_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=81f9948586a12124ae4396920a7e4613b4d4288e;p=moodle.git fixed my yet another bug; merged from MOODLE_16_STABLE --- diff --git a/files/index.php b/files/index.php index 67af342426..fbcd8e9a29 100644 --- a/files/index.php +++ b/files/index.php @@ -769,9 +769,9 @@ function displaydir ($wdir) { print_cell("center", "", 'checkbox'); echo ""; if ($CFG->slasharguments) { - $ffurl = "/file.php/$id$fileurl"; + $ffurl = "/file.php/$id/$fileurl"; } else { - $ffurl = "/file.php?file=/$id$fileurl"; + $ffurl = "/file.php?file=/$id/$fileurl"; } link_to_popup_window ($ffurl, "display", "pixpath/f/$icon\" height=\"16\" width=\"16\" border=\"0\" alt=\"File\" />",