Skip to content

Commit

Permalink
Fixed bug where path to exported file could be incorrect in non en la…
Browse files Browse the repository at this point in the history
…nguages.
  • Loading branch information
thepurpleblob committed Jul 21, 2005
1 parent 96157e7 commit ac00624
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/quiz/export.php
Expand Up @@ -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
Expand Down

0 comments on commit ac00624

Please sign in to comment.