Skip to content

Commit

Permalink
[NDB_BVL_Instrument] Add null value to examiner array (#7847)
Browse files Browse the repository at this point in the history
This adds an empty value to the array of examiner names. This was mistakenly taken out in #7462, and is causing the first value to be selected by default in instruments.
  • Loading branch information
CamilleBeau committed Nov 24, 2021
1 parent 31fc22f commit 6c30b1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion php/libraries/NDB_BVL_Instrument.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,9 @@ abstract class NDB_BVL_Instrument extends NDB_Page
'examinerID'
);
}
$examiners = [];
$examiners = [
null => ''
];
if (is_array($results) && !empty($results)) {
foreach ($results AS $eid => $row) {
$name = $row['full_name'];
Expand Down

0 comments on commit 6c30b1c

Please # to comment.