From 6c30b1c1c7b63491e89e2edb35122c60ea5dcd78 Mon Sep 17 00:00:00 2001 From: CamilleBeau <51176779+CamilleBeau@users.noreply.github.com> Date: Wed, 24 Nov 2021 10:33:05 -0500 Subject: [PATCH] [NDB_BVL_Instrument] Add null value to examiner array (#7847) 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. --- php/libraries/NDB_BVL_Instrument.class.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/php/libraries/NDB_BVL_Instrument.class.inc b/php/libraries/NDB_BVL_Instrument.class.inc index 0055fce82b0..40421121c74 100644 --- a/php/libraries/NDB_BVL_Instrument.class.inc +++ b/php/libraries/NDB_BVL_Instrument.class.inc @@ -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'];