Explorar o código

Fix query bug in learnpathItem::write_to_db()

Yannick Warnier %!s(int64=10) %!d(string=hai) anos
pai
achega
a667212d82
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();