Skip to content

Commit 0dad6e7

Browse files
authored
[LINST Instrument] Bugfix Date of Death displayed when candidate is still Alive (#7397)
Bugfix to ensure that age at death is only displayed if the candidate has passed away. This bug only appears in LINST instrument. Resolves #7396.
1 parent 0df4ed8 commit 0dad6e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/libraries/NDB_BVL_Instrument_LINST.class.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
7777
$this->addBasicDate('Date_taken', 'Date of Administration', $dateOptions);
7878

7979
if (strrpos($this->testName, '_proband') === false) {
80-
if ($this->postMortem) {
80+
if (!$this->postMortem) {
8181
$this->addScoreColumn(
8282
'Candidate_Age',
8383
'Candidate Age (Months)'

0 commit comments

Comments
 (0)