Update Saqel Platform: 2026-09-02 08:55:31

This commit is contained in:
Hamza-Ayed
2026-09-02 08:55:32 +03:00
parent a9b1819e9a
commit 5ecfaafa48
2 changed files with 20 additions and 1 deletions
@@ -109,7 +109,7 @@ class TeacherController
// Total Unique Active Students
$studentsCount = (int)Database::selectOne(
"SELECT COUNT(DISTINCT lp.user_id) as total FROM lesson_progress lp
"SELECT COUNT(DISTINCT lp.student_id) as total FROM lesson_progress lp
JOIN lessons l ON lp.lesson_id = l.id
JOIN courses c ON l.course_id = c.id
WHERE c.teacher_id = ?",