|
|
@ -882,7 +882,6 @@ class scorm extends learnpath { |
|
|
|
$lp_id = intval($lp_id); |
|
|
|
$lp_id = intval($lp_id); |
|
|
|
$sql = "SELECT * FROM $lp_table WHERE c_id = ".$course_id." AND id = '$lp_id'"; |
|
|
|
$sql = "SELECT * FROM $lp_table WHERE c_id = ".$course_id." AND id = '$lp_id'"; |
|
|
|
if ($this->debug > 2) { error_log('New LP - scorm::reimport_manifest() '.__LINE__.' - Querying lp: '.$sql, 0); } |
|
|
|
if ($this->debug > 2) { error_log('New LP - scorm::reimport_manifest() '.__LINE__.' - Querying lp: '.$sql, 0); } |
|
|
|
//$res = Database::query($sql); |
|
|
|
|
|
|
|
$res = Database::query($sql); |
|
|
|
$res = Database::query($sql); |
|
|
|
if (Database::num_rows($res) > 0) { |
|
|
|
if (Database::num_rows($res) > 0) { |
|
|
|
$this->lp_id = $lp_id; |
|
|
|
$this->lp_id = $lp_id; |
|
|
|