Skip to content

Commit d536aa4

Browse files
committed
Refactor
1 parent 62ab5f3 commit d536aa4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7193,7 +7193,7 @@ public function is_instructor_of_this_course( $instructor_id = 0, $course_id = 0
71937193
TutorCache::set( $cache_key, $instructor );
71947194
}
71957195

7196-
if ( is_array( $instructor ) && count( $instructor ) ) {
7196+
if ( $this->count( $instructor ) ) {
71977197
return true;
71987198
}
71997199

0 commit comments

Comments
 (0)