mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
Need to addslashes before put summary section data to db !!!
Now restoring sections is working. User restoring failed !! -> Too much records !!
This commit is contained in:
parent
4f39d4fb3a
commit
d223ada029
@ -323,7 +323,7 @@
|
||||
$sequence = "";
|
||||
$section->course = $restore->course_id;
|
||||
$section->section = $sect->number;
|
||||
$section->summary = $sect->summary;
|
||||
$section->summary = addslashes($sect->summary);
|
||||
$section->visible = $sect->visible;
|
||||
$section->sequence = "";
|
||||
//Now calculate the section's newid
|
||||
|
Loading…
x
Reference in New Issue
Block a user