diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 34fafdea90..bf00c19e24 100755 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -1432,7 +1432,7 @@ class learnpath if ($old_prerequisite != $prerequisites) { $sql = "UPDATE " . $tbl_lp_item . " - SET prerequisite = " . $prerequisites . " + SET prerequisite = '" . $prerequisites . "' WHERE c_id = ".$course_id." AND id = " . $id; Database::query($sql); }