|
|
|
@ -399,6 +399,7 @@ class scorm extends learnpath |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$prereq = Database::escape_string($item['prerequisites']); |
|
|
|
|
$item['datafromlms'] = Database::escape_string($item['datafromlms']); |
|
|
|
|
|
|
|
|
|
$sql_item = "INSERT INTO $new_lp_item (c_id, lp_id,item_type,ref,title, path,min_score,max_score, $field_add parent_item_id,previous_item_id,next_item_id, prerequisite,display_order,launch_data, parameters) |
|
|
|
|
VALUES ($course_id, $lp_id, '$type', '$identifier', '$title', '$path' , 0, $max_score, $value_add $parent, $previous, 0, '$prereq', ".$item['rel_order'] .", '".$item['datafromlms']."', '".$item['parameters']."' )"; |
|
|
|
|