mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-46148 questions: Added missing allow_commit for transaction
This commit is contained in:
parent
62a1434588
commit
4a46fd643f
1 changed files with 1 additions and 0 deletions
|
@ -372,6 +372,7 @@ class qformat_default {
|
|||
$this->category = $newcategory;
|
||||
}
|
||||
}
|
||||
$transaction->allow_commit();
|
||||
continue;
|
||||
}
|
||||
$question->context = $this->importcontext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue