|
|
|
@ -118,9 +118,9 @@ if ($_POST['formSent']) { |
|
|
|
|
$rs = Database::query("SELECT course_code FROM $tbl_session_rel_course WHERE id_session=$id_session"); |
|
|
|
|
$existingCourses = Database::store_result($rs); |
|
|
|
|
|
|
|
|
|
$sql="SELECT id_user |
|
|
|
|
FROM $tbl_session_rel_user |
|
|
|
|
WHERE id_session = $id_session AND relation_type=".COURSE_RELATION_TYPE_RRHH." "; |
|
|
|
|
// Updating only the RRHH users?? why? |
|
|
|
|
//$sql="SELECT id_user FROM $tbl_session_rel_user WHERE id_session = $id_session AND relation_type=".COURSE_RELATION_TYPE_RRHH." "; |
|
|
|
|
$sql = "SELECT id_user FROM $tbl_session_rel_user WHERE id_session = $id_session "; |
|
|
|
|
$result = Database::query($sql); |
|
|
|
|
$UserList = Database::store_result($result); |
|
|
|
|
|
|
|
|
|