Permalink
Browse files

fixed setting of name+summary from quiz when adding all files in a fo…

…lder as a chain
  • Loading branch information...
1 parent 3bc0883 commit 1d0bbc406eb1a0a8e8f41ded91e55dcf4717fbc9 gbateson committed Oct 6, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/lib.php
View
@@ -387,7 +387,7 @@ function hotpot_add_chain(&$hp) {
// get titles
foreach ($hp->references as $i=>$reference) {
- $filepath = $xml_quiz->fileroot.'/'.$xml_quiz->filesubdir.$reference;
+ $filepath = $xml_quiz->fileroot.'/'.$reference;
hotpot_get_titles_and_next_ex($hp, $filepath);
$hp->names[$i] = $hp->exercisetitle;
$hp->summaries[$i] = $hp->exercisesubtitle;

0 comments on commit 1d0bbc4

Please sign in to comment.