Skip to content

Commit b03e8ac

Browse files
committed
Fix broken configuration of results_remap.
This was broken in 754779b. As reported by Shengliang Cai and based on a patch by @Kevinjil.
1 parent 7f7791a commit b03e8ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

webapp/src/Service/ConfigurationService.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,7 @@ public function addOptions(ConfigurationSpecification $item): ConfigurationSpeci
371371
break;
372372
case 'results_prio':
373373
case 'results_remap':
374-
$verdictsConfig = $this->etcDir . '/verdicts.php';
375-
$verdicts = include $verdictsConfig;
374+
$verdicts = $this->getVerdicts(['final']);
376375
$item->keyOptions = ['' => ''];
377376
foreach (array_keys($verdicts) as $verdict) {
378377
$item->keyOptions[$verdict] = $verdict;

0 commit comments

Comments
 (0)