Browse Source

Fix query bug in learnpathItem::write_to_db()

Yannick Warnier 10 years ago
parent
commit
a667212d82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/newscorm/learnpathItem.class.php

+ 1 - 1
main/newscorm/learnpathItem.class.php

@@ -4052,7 +4052,7 @@ class learnpathItem
                                     lesson_location = '" . $this->lesson_location . "'
                                 WHERE
                                     c_id = $course_id AND
-                                    lp_item_id = " . $this->db_id . "AND
+                                    lp_item_id = " . $this->db_id . " AND
                                     lp_view_id = " . $this->view_id . "  AND
                                     view_count = " . $this->get_attempt_id();