Log actions must be strored to DB without &

print_log() takes care of it! Bug 3853.
(http://moodle.org/bugs/bug.php?op=show&bugid=3853)

Merged from MOODLE_15_STABLE
This commit is contained in:
stronk7 2005-11-23 09:46:25 +00:00
parent dece984da0
commit 140b7eb5db
6 changed files with 13 additions and 13 deletions

View file

@ -806,7 +806,7 @@
//Get the new_id of the glossary_entry (to recode the info and url field)
$ent = backup_getid($restore->backup_unique_code,"glossary_entries",$log->info);
if ($ent) {
$log->url = "view.php?id=".$log->cmid."&mode=entry&hook=".$ent->new_id;
$log->url = "view.php?id=".$log->cmid."&mode=entry&hook=".$ent->new_id;
$log->info = $ent->new_id;
$status = true;
}