Skip to content

Commit 58fc29b

Browse files
committed
fix(dashboard): correct course count variables in student dashboard stats
1 parent 152aec6 commit 58fc29b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

templates/dashboard/student-dashboard.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
</div>
9595
<div class="tutor-stat-card-content">
9696
<div class="tutor-stat-card-value">
97-
<?php echo esc_html( $enrolled_course_count ); ?>
97+
<?php echo esc_html( $active_course_count ); ?>
9898
</div>
9999
<p class="tutor-stat-card-change">
100100
<?php
@@ -115,7 +115,7 @@
115115
</div>
116116
<div class="tutor-stat-card-content">
117117
<div class="tutor-stat-card-value">
118-
<?php echo esc_html( $enrolled_course_count ); ?>
118+
<?php echo esc_html( $completed_course_count ); ?>
119119
</div>
120120
<p class="tutor-stat-card-change">
121121
<?php

0 commit comments

Comments
 (0)