Selaa lähdekoodia

Use iid instead of id to save the LP item list see BT#14300

jmontoyaa 6 vuotta sitten
vanhempi
commit
8d1d2a9824
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      main/inc/ajax/lp.ajax.php

+ 1 - 1
main/inc/ajax/lp.ajax.php

@@ -118,7 +118,7 @@ switch ($action) {
                     $table,
                     $params,
                     [
-                        'id = ? AND c_id = ? ' => [
+                        'iid = ? AND c_id = ? ' => [
                             intval($item->id),
                             $courseId,
                         ],