mirror of
https://github.com/moodle/moodle.git
synced 2025-01-21 23:48:45 +01:00
Fix problem editing category names containing html
This commit is contained in:
parent
4742585700
commit
695f71e1bd
@ -384,7 +384,7 @@
|
||||
$strrename= get_string("rename");
|
||||
echo "<form name=\"renameform\" action=\"category.php\" method=\"post\">";
|
||||
echo "<input type=\"hidden\" name=\"id\" value=\"$category->id\">";
|
||||
echo "<input type=\"text\" size=30 name=\"rename\" value=\"$category->name\">";
|
||||
echo "<input type=\"text\" size=30 name=\"rename\" value=\"".s($category->name)."\">";
|
||||
echo "<input type=\"submit\" value=\"$strrename\">";
|
||||
echo "</form>";
|
||||
echo "<br />";
|
||||
|
Loading…
x
Reference in New Issue
Block a user