Skip to content
Browse files

MDL-22176 backup & restore links - Fixed missing .php extension in URL

  • Loading branch information...
1 parent 7e3078d commit ccfc004f26c17c427e70a7dc076a7658c0a436d8 @stronk7 stronk7 committed Apr 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/restorelib.php
View
2 backup/restorelib.php
@@ -209,7 +209,7 @@ function course_decode_content_links($content, $restore) {
// Links to course
$searchstring = '/\$@(COURSEVIEWBYID)\*([0-9]+)@\$/';
- $replacestring= $CFG->wwwroot . '/course/view?id=' . $restore->course_id;
+ $replacestring= $CFG->wwwroot . '/course/view.php?id=' . $restore->course_id;
$result = preg_replace($searchstring, $replacestring, $content);
return $result;

0 comments on commit ccfc004

Please sign in to comment.
Something went wrong with that request. Please try again.