From 81f9948586a12124ae4396920a7e4613b4d4288e Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 24 May 2006 21:54:51 +0000 Subject: [PATCH] fixed my yet another bug; merged from MOODLE_16_STABLE --- files/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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\" />", -- 2.39.5