mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
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:
parent
dece984da0
commit
140b7eb5db
6 changed files with 13 additions and 13 deletions
|
@ -2146,7 +2146,7 @@
|
|||
//Get the new_id of the attempt (to recode the url field)
|
||||
$att = backup_getid($restore->backup_unique_code,"quiz_attempts",$attid);
|
||||
if ($att) {
|
||||
$log->url = "review.php?id=".$log->cmid."&attempt=".$att->new_id;
|
||||
$log->url = "review.php?id=".$log->cmid."&attempt=".$att->new_id;
|
||||
$log->info = $mod->new_id;
|
||||
$status = true;
|
||||
}
|
||||
|
@ -2163,7 +2163,7 @@
|
|||
//Get the new_id of the attempt (to recode the url field)
|
||||
$att = backup_getid($restore->backup_unique_code,"quiz_attempts",$attid);
|
||||
if ($att) {
|
||||
$log->url = "review.php?id=".$log->cmid."&attempt=".$att->new_id;
|
||||
$log->url = "review.php?id=".$log->cmid."&attempt=".$att->new_id;
|
||||
$log->info = $mod->new_id;
|
||||
$status = true;
|
||||
}
|
||||
|
@ -2180,7 +2180,7 @@
|
|||
//Get the new_id of the attempt (to recode the url field)
|
||||
$att = backup_getid($restore->backup_unique_code,"quiz_attempts",$attid);
|
||||
if ($att) {
|
||||
$log->url = "review.php?id=".$log->cmid."&attempt=".$att->new_id;
|
||||
$log->url = "review.php?id=".$log->cmid."&attempt=".$att->new_id;
|
||||
$log->info = $mod->new_id;
|
||||
$status = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue