Merge branch 'MDL-56131-master' of git://github.com/andrewnicols/moodle

This commit is contained in:
Dan Poltawski
2016-10-18 13:44:33 +01:00
+1 -1
View File
@@ -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);
}