From 0c53f6744637516ca2cea589273ec097b7f78063 Mon Sep 17 00:00:00 2001 From: Mohammad Zubair Ali Date: Mon, 2 Sep 2024 15:41:09 +0530 Subject: [PATCH] fixed result page redirect url redirect undefined value issue --- php/admin/options-page-results-page-tab.php | 2 +- php/admin/quiz-options-page.php | 2 +- php/template-variables.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/php/admin/options-page-results-page-tab.php b/php/admin/options-page-results-page-tab.php index 9eb255973..6b409f81a 100644 --- a/php/admin/options-page-results-page-tab.php +++ b/php/admin/options-page-results-page-tab.php @@ -266,7 +266,7 @@ function qsm_options_results_tab_template(){

/

- + diff --git a/php/admin/quiz-options-page.php b/php/admin/quiz-options-page.php index dd79dadc2..17fd81515 100644 --- a/php/admin/quiz-options-page.php +++ b/php/admin/quiz-options-page.php @@ -102,7 +102,7 @@ function qsm_generate_quiz_options() { } $qsm_core_tabs = array( 'questions', 'contact', 'text', 'options', 'emails', 'results-pages', 'style' ); - $addon_tabs = ''; + $addon_tabs = 0; ?>
diff --git a/php/template-variables.php b/php/template-variables.php index b3a3808a1..3ed2233c6 100644 --- a/php/template-variables.php +++ b/php/template-variables.php @@ -527,7 +527,7 @@ function qsm_all_contact_fields_variable( $content, $results ) { return $content; } function qsm_get_options_of_contact_fields( $data, $label, $type ) { - if( is_array( $data ) ){ + if ( is_array( $data ) ) { foreach ( $data as $item ) { if ( $item['label'] === $label && $item['type'] === $type ) { return $item['options'];