From d89c6578a5faac5bf5d941e2fa75d427c6cf6a10 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 17 May 2004 15:36:47 +0000 Subject: [PATCH] Fix resource names properly --- mod/resource/details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -> -- 2.39.5