Browse Source

Merge branch '1.10.x' of https://github.com/chamilo/chamilo-lms into 1.10.x

Angel Fernando Quiroz Campos 8 năm trước cách đây
mục cha
commit
914b0ed333
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main/inc/lib/login.lib.php

+ 1 - 1
main/inc/lib/login.lib.php

@@ -580,7 +580,7 @@ class Login
                        WHERE
                         user_id  = '" . $user_id . "' AND
                         relation_type <> " . COURSE_RELATION_TYPE_RRHH . " AND
-                        course_code = '$course_id'";
+                        c_id = '".$_real_cid."'";
                 $result = Database::query($sql);
 
                 $cuData = null;