Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadmurad committed Jul 31, 2022
1 parent 9dda444 commit e16293c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function getMarkAttribute(){
$mark+= $submit->final_mark;
}
}

if ($examsCount == 0) return null;
return $mark / $examsCount;

}
Expand Down

0 comments on commit e16293c

Please sign in to comment.