[svn r19043] Minor - Fixed show attempt about an exercise into learning path details - (partial FS#3805)

skala
Cristian Fasanando 17 years ago
parent e0dbe98f7f
commit 5d9cc7336c
  1. 2
      main/newscorm/lp_stats.php

@ -352,7 +352,7 @@ foreach ($list as $my_item_id) {
$res_attempts = api_sql_query($sql_attempts,__FILE__,__LINE__); $res_attempts = api_sql_query($sql_attempts,__FILE__,__LINE__);
$num_attempts = Database :: num_rows($res_attempts); $num_attempts = Database :: num_rows($res_attempts);
if ($row['item_type'] != 'dokeos_chapter') { if ($row['item_type'] === 'quiz') {
if ($num_attempts > 0) { if ($num_attempts > 0) {
$n=1; $n=1;
while ($row_attempts = Database :: fetch_array($res_attempts)) { while ($row_attempts = Database :: fetch_array($res_attempts)) {

Loading…
Cancel
Save