[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. 4
      main/newscorm/lp_stats.php

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

Loading…
Cancel
Save