Skip to content
Browse files

Fixed bug where path to exported file could be incorrect in non en la…

…nguages.
  • Loading branch information...
1 parent 96157e7 commit ac00624f97155fbb2c97919b1cb8d6b68da72e63 thepurpleblob committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/quiz/export.php
View
3 mod/quiz/export.php
@@ -30,8 +30,9 @@
$strquizzes = get_string('modulenameplural', 'quiz');
$streditingquiz = get_string(isset($SESSION->modform->instance) ? "editingquiz" : "editquestions", "quiz");
+ $dirname = get_string("exportfilename","quiz");
print_header_simple("$strexportquestions", "$strexportquestions",
- "<a href=\"$CFG->wwwroot/mod/quiz/index.php?id=$course->id\">$strquizzes</a>".
+ "<a href=\"$CFG->wwwroot/mod/$dirname/index.php?id=$course->id\">$strquizzes</a>".
" -> <a href=\"edit.php\">$streditingquiz</a> -> $strexportquestions");
if ($form = data_submitted()) { /// Filename

0 comments on commit ac00624

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