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:
stronk7 2003-06-10 17:27:08 +00:00
parent 4f39d4fb3a
commit d223ada029

View File

@ -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