@@ 2539-2539 (lines=1) @@ | ||
2536 | if (!empty($max_score)) { |
|
2537 | $lp_partial_total += $score/$max_score; |
|
2538 | } |
|
2539 | if ($debug) echo '<b>$lp_partial_total, $score, $max_score '.$lp_partial_total.' '.$score.' '.$max_score.'</b><br />'; |
|
2540 | } else { |
|
2541 | // Case of a TOOL_QUIZ element |
|
2542 | $item_id = $row_max_score['iid']; |
|
@@ 2595-2595 (lines=1) @@ | ||
2592 | if (!empty($max_score) && floatval($max_score) > 0) { |
|
2593 | $lp_partial_total += $score/$max_score; |
|
2594 | } |
|
2595 | if ($debug) echo '$lp_partial_total, $score, $max_score <b>'.$lp_partial_total.' '.$score.' '.$max_score.'</b><br />'; |
|
2596 | } |
|
2597 | } |
|
2598 |