diff --git a/php/libraries/BVL_Feedback_Panel.class.inc b/php/libraries/BVL_Feedback_Panel.class.inc index a93a5ea84f3..88988d6d0a7 100644 --- a/php/libraries/BVL_Feedback_Panel.class.inc +++ b/php/libraries/BVL_Feedback_Panel.class.inc @@ -101,7 +101,15 @@ class BVL_Feedback_Panel $summary = $this->feedbackThread->getSummaryOfThreads(); $this->tpl_data['thread_summary_headers'] = json_encode($summary); - $field_names = Utility::getSourcefields($_REQUEST['test_name'] ?? ''); + $test_name = ''; + if (array_key_exists('test_name', $_REQUEST)) { + $test_name = $_REQUEST['test_name']; + } else if (array_key_exists('lorispath', $_REQUEST)) { + $test_name = preg_split("#/#", $_REQUEST['lorispath'])[1] ?? ''; + } + + // Get field names + $field_names = Utility::getSourcefields($test_name); $fields = []; $fields['Across All Fields'] = 'Across All Fields'; foreach ($field_names as $field_name) {