[svn r16204] Add index terms to lp_item on Oogie import

skala
Yannick Warnier 16 years ago
parent 9c80fcf83f
commit fc45c53dd6
  1. 3
      main/newscorm/openoffice_presentation.class.php

@ -138,7 +138,8 @@ class OpenofficePresentation extends OpenofficeDocument {
$tbl_lp_item = Database::get_course_table('lp_item'); $tbl_lp_item = Database::get_course_table('lp_item');
$sql_update = " $sql_update = "
UPDATE " . $tbl_lp_item . " UPDATE " . $tbl_lp_item . "
SET search_did = " . $did . " SET search_did = " . $did . ",
terms = '".Database::escape_string($_POST['terms'])."'
WHERE id = " . $previous; WHERE id = " . $previous;
api_sql_query($sql_update, __FILE__, __LINE__); api_sql_query($sql_update, __FILE__, __LINE__);
} }

Loading…
Cancel
Save