Skip to content

Commit 98d50d6

Browse files
committed
Switching back to null, for the "N/A" display in LLMS_Student::get_grade().
1 parent 08e927e commit 98d50d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-llms-grades.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private function calculate_course_grade( $course, $student ) {
134134
*/
135135
public function calculate_grade( $post, $student ) {
136136

137-
$grade = '';
137+
$grade = null;
138138

139139
$post_type = $post->get( 'type' );
140140
switch ( $post_type ) {

0 commit comments

Comments
 (0)