Skip to content

Commit

Permalink
question restore: MDL-22720 silly typo in question restore.
Browse files Browse the repository at this point in the history
Thanks to Vadim Dvorovenko for finding and fixing this.
  • Loading branch information
timhunt committed Jun 10, 2010
1 parent c990703 commit 85a7126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/restorelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function restore_question_get_best_category_context($restore, $contextinfo) {
if ($nextcatid == 0){
break;
}
$catid == $nextcatid;
$catid = $nextcatid;
$catno--;
}
$tocontext = get_context_instance(CONTEXT_COURSECAT, $catid);
Expand Down

0 comments on commit 85a7126

Please sign in to comment.