Fixing score = 0 in exam with a timer see BT#8423

1.9.x
Julio Montoya 10 years ago
parent 002c287ac7
commit 92dd4a0290
  1. 6
      main/inc/lib/events.lib.inc.php

@ -312,10 +312,14 @@ function update_event_exercice(
if ($debug) error_log('duration:' . $duration);
if ($exeid != '') {
// Validation in case of fraud with actived control time
/*
* Code commented due BT#8423 do not change the score to 0.
*
* Validation in case of fraud with actived control time
if (!exercise_time_control_is_valid($exo_id, $learnpath_id, $learnpath_item_id)) {
$score = 0;
}
*/
if (!isset($status) || empty($status)) {
$status = '';

Loading…
Cancel
Save