#166 Fixed encoding content links
This commit is contained in:
parent
52d1613902
commit
b14ccbba57
1 changed files with 2 additions and 2 deletions
|
@ -63,11 +63,11 @@ class backup_customcert_activity_task extends backup_activity_task {
|
||||||
|
|
||||||
// Link to the list of customcerts.
|
// Link to the list of customcerts.
|
||||||
$search = "/(".$base."\/mod\/customcert\/index.php\?id\=)([0-9]+)/";
|
$search = "/(".$base."\/mod\/customcert\/index.php\?id\=)([0-9]+)/";
|
||||||
$content = preg_replace($search, '$@customcertINDEX*$2@$', $content);
|
$content = preg_replace($search, '$@CUSTOMCERTINDEX*$2@$', $content);
|
||||||
|
|
||||||
// Link to customcert view by moduleid.
|
// Link to customcert view by moduleid.
|
||||||
$search = "/(".$base."\/mod\/customcert\/view.php\?id\=)([0-9]+)/";
|
$search = "/(".$base."\/mod\/customcert\/view.php\?id\=)([0-9]+)/";
|
||||||
$content = preg_replace($search, '$@customcertVIEWBYID*$2@$', $content);
|
$content = preg_replace($search, '$@CUSTOMCERTVIEWBYID*$2@$', $content);
|
||||||
|
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue