Skip to content

Commit

Permalink
[NDB_BVL_Instrument_LINST] Show subtests (#6116)
Browse files Browse the repository at this point in the history
Linst instrument subtests are blank and not able to render its fields. This is because of legacy request variable left over from before PR #4229 that introduced a new instruments loading module.
  • Loading branch information
zaliqarosli authored Mar 9, 2020
1 parent 1ca9e37 commit 9ff10de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/libraries/NDB_BVL_Instrument_LINST.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ class NDB_BVL_Instrument_LINST extends \NDB_BVL_Instrument
// parse the whole file for table{@} and other meta elements
$addElements = true;
if (!empty($this->page)) {
$currentPage = $_REQUEST['subtest'];
$currentPage = $this->page;
$addElements = false;
} else {
$currentPage = 'top';
Expand Down

0 comments on commit 9ff10de

Please # to comment.