diff --git a/php/classes/class-qmn-quiz-manager.php b/php/classes/class-qmn-quiz-manager.php index c9bb01ff6..46b74e92e 100644 --- a/php/classes/class-qmn-quiz-manager.php +++ b/php/classes/class-qmn-quiz-manager.php @@ -996,7 +996,7 @@ public function display_pages( $options, $quiz_data ) { $animation_effect = isset( $options->quiz_animation ) && '' !== $options->quiz_animation ? ' animated ' . $options->quiz_animation : ''; $enable_pagination_quiz = isset( $options->enable_pagination_quiz ) && 1 == $options->enable_pagination_quiz ? true : false; if ( ( 1 == $options->randomness_order || 2 == $options->randomness_order ) && is_array( $pages ) ) { - shuffle( $pages ); + $pages = QMNPluginHelper::qsm_shuffle_assoc( $pages ); $question_list_array = array(); foreach( $pages as &$question_ids ){ shuffle( $question_ids );