[svn r16206] Add recovery of index terms on item instanciation

skala
Yannick Warnier 17 years ago
parent 8ab988958a
commit f50c202266
  1. 6
      main/newscorm/learnpathItem.class.php

@ -53,6 +53,8 @@ class learnpathItem{
var $title;
var $type; // this attribute can contain chapter|link|student_publication|module|quiz|document|forum|thread
var $view_id;
var $terms;
var $search_did;
var $debug = 0; //logging param
/**
@ -98,7 +100,9 @@ class learnpathItem{
if(isset($row['launch_data'])){
$this->launch_data = $row['launch_data'];
}
$this->save_on_close = true;
$this->terms = $row['terms'];
$this->search_did = $row['search_did'];
$this->save_on_close = true;
$this->db_id = $id;
//error_log('New LP - End of learnpathItem constructor for item '.$id,0);

Loading…
Cancel
Save