Skip to content

Commit

Permalink
Array typecast removed
Browse files Browse the repository at this point in the history
  • Loading branch information
sazedul-haque committed Feb 10, 2025
1 parent 122bfbd commit 0b68c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Quiz.php
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ public function ajax_quiz_details() {

$data = QuizModel::get_quiz_details( $quiz_id );

$data = apply_filters( 'tutor_quiz_details_response', (array) $data, $quiz_id );
$data = apply_filters( 'tutor_quiz_details_response', $data, $quiz_id );

$this->json_response(
__( 'Quiz data fetched successfully', 'tutor' ),
Expand Down

0 comments on commit 0b68c2a

Please sign in to comment.