Skip to content

Commit a10b2f0

Browse files
committed
Move empty option to getExaminerNames
This was broken in PR aces#7462, so add it back to the same place that it was removed from for more compatibility. This also fixes the LINST instruments which weren't fixed by adding it before the addSelect.
1 parent 79eb290 commit a10b2f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/libraries/NDB_BVL_Instrument.class.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ abstract class NDB_BVL_Instrument extends NDB_Page
911911
'Window Difference (+/- Days)'
912912
);
913913
}
914-
$examiners = ['' => ''] + $this->_getExaminerNames();
914+
$examiners = $this->_getExaminerNames();
915915
$this->addSelect('Examiner', 'Examiner', $examiners);
916916

917917
$this->addRule(
@@ -1072,7 +1072,7 @@ abstract class NDB_BVL_Instrument extends NDB_Page
10721072
'examinerID'
10731073
);
10741074
}
1075-
$examiners = [];
1075+
$examiners = ['' => ''];
10761076
if (is_array($results) && !empty($results)) {
10771077
foreach ($results AS $eid => $row) {
10781078
$name = $row['full_name'];

0 commit comments

Comments
 (0)