diff --git a/main/newscorm/lp_stats.php b/main/newscorm/lp_stats.php index 003d15efee..bc0f3e6162 100644 --- a/main/newscorm/lp_stats.php +++ b/main/newscorm/lp_stats.php @@ -206,7 +206,7 @@ foreach ($list as $my_item_id) { } } } while ($row = Database :: fetch_array($result)); - } else { + } elseif($num>0) { $row = Database :: fetch_array($result); //check if there are interactions below