From: moodler Date: Fri, 1 Oct 2004 15:19:12 +0000 (+0000) Subject: Merged from stable X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=345fa15ea741e60dd1a57ed9c4ff314844770d2b;p=moodle.git Merged from stable --- diff --git a/mod/resource/type/directory/resource.class.php b/mod/resource/type/directory/resource.class.php index f1c14a1139..f17c47b1c0 100644 --- a/mod/resource/type/directory/resource.class.php +++ b/mod/resource/type/directory/resource.class.php @@ -37,7 +37,7 @@ function display() { } if ($subdir) { - if (detect_munged_arguments($subdir)) { + if (detect_munged_arguments($subdir, 0)) { error("The value for 'subdir' contains illegal characters!"); } $relativepath = "$relativepath$subdir";