Submissions.php: ignore cases where Student_ID is empty.
parent
5ac8062175
commit
1b8e2bc76d
|
@ -390,7 +390,7 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Remarking'");
|
||||||
$rs2 = mysqli_query($con, "SELECT ID, Course_Group_id, course_group_members_table.Student_ID, course_group_members_table.Status, users_table.Full_Name
|
$rs2 = mysqli_query($con, "SELECT ID, Course_Group_id, course_group_members_table.Student_ID, course_group_members_table.Status, users_table.Full_Name
|
||||||
FROM course_group_members_table
|
FROM course_group_members_table
|
||||||
INNER JOIN users_table ON users_table.Student_ID=course_group_members_table.Student_ID
|
INNER JOIN users_table ON users_table.Student_ID=course_group_members_table.Student_ID
|
||||||
WHERE course_group_members_table.Course_Group_id=$id");
|
WHERE course_group_members_table.Student_ID AND course_group_members_table.Course_Group_id=$id");
|
||||||
|
|
||||||
while ($row = mysqli_fetch_assoc($rs2)) {
|
while ($row = mysqli_fetch_assoc($rs2)) {
|
||||||
$name = $row['Full_Name'];
|
$name = $row['Full_Name'];
|
||||||
|
|
Loading…
Reference in New Issue