diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 411e2b2631..c7b78ae86e 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -2121,6 +2121,7 @@ class learnpath { 'status'=>$this->items[$item_id]->get_status(), 'level'=>$this->items[$item_id]->get_level(), 'type' =>$this->items[$item_id]->get_type(), + 'description'=>$this->items[$item_id]->get_description(), ); } if($this->debug>2){error_log('New LP - In learnpath::get_toc() - TOC array: '.print_r($toc,true),0);} @@ -2280,14 +2281,14 @@ class learnpath { if($item['type']!='dokeos_module' AND $item['type']!='dokeos_chapter'){ - $html .= '
' . + $html .= '
' . ''; } else{ - $html .= '
' . + $html .= '
' . ''; }