Permalink
Browse files

question restore: MDL-22720 silly typo in question restore.

Thanks to Vadim Dvorovenko for finding and fixing this.
  • Loading branch information...
1 parent ee7ee73 commit 69312b4f9c63e12b358f86e2ed85fd0cb36612bd @timhunt timhunt committed Jun 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/restorelib.php
View
@@ -115,7 +115,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);

0 comments on commit 69312b4

Please sign in to comment.