mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
exam progress update when get
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ class Exam
|
||||
public function render($uid)
|
||||
{
|
||||
$examRep = new ExamRepository();
|
||||
$userExam = $examRep->getUserExamProgress($uid, ExamUser::STATUS_NORMAL, ['exam']);
|
||||
$userExam = $examRep->getUserExamProgress($uid, ExamUser::STATUS_NORMAL);
|
||||
if (empty($userExam)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user