From: moodler Date: Mon, 17 May 2004 15:36:47 +0000 (+0000) Subject: Fix resource names properly X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d89c6578a5faac5bf5d941e2fa75d427c6cf6a10;p=moodle.git Fix resource names properly --- diff --git a/mod/resource/details.php b/mod/resource/details.php index a93a1a5650..0836c1572b 100644 --- a/mod/resource/details.php +++ b/mod/resource/details.php @@ -26,7 +26,7 @@ $strexample = get_string("example", "resource"); $strresources = get_string("modulenameplural", "resource"); - $form->name = s($form->name); // remove slashes + $form->name = stripslashes($form->name); // remove slashes print_header("$course->shortname: $strediting", "$course->shortname: $strediting", "wwwroot/course/view.php?id=$course->id\">$course->shortname ->