mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-19936 backup - tiny problem on encoding of workshop interlinks
This commit is contained in:
parent
e044ebb46e
commit
4d6743f777
1 changed files with 2 additions and 2 deletions
|
@ -59,11 +59,11 @@ class backup_workshop_activity_task extends backup_activity_task {
|
|||
|
||||
// Link to the list of workshops
|
||||
$search = "/(" . $base . "\/mod\/workshop\/index.php\?id\=)([0-9]+)/";
|
||||
$result = preg_replace($search, '$@WORKSHOPINDEX*$2@$', $content);
|
||||
$content = preg_replace($search, '$@WORKSHOPINDEX*$2@$', $content);
|
||||
|
||||
//Link to workshop view by moduleid
|
||||
$search = "/(" . $base . "\/mod\/workshop\/view.php\?id\=)([0-9]+)/";
|
||||
$result= preg_replace($search, '$@WORKSHOPVIEWBYID*$2@$', $result);
|
||||
$content= preg_replace($search, '$@WORKSHOPVIEWBYID*$2@$', $content);
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue