Merge branch 'MDL-56131-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
+1
-1
@@ -345,7 +345,7 @@ function choice_user_submit_response($formanswer, $choice, $userid, $course, $cm
|
||||
$lockfactory = \core\lock\lock_config::get_lock_factory($locktype);
|
||||
|
||||
// Opening the lock.
|
||||
$choicelock = $lockfactory->get_lock($resouce, $timeout);
|
||||
$choicelock = $lockfactory->get_lock($resouce, $timeout, MINSECS);
|
||||
if (!$choicelock) {
|
||||
print_error('cannotsubmit', 'choice', $continueurl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user