Skip to content

Commit

Permalink
[Instruments] Revert intval of CommentID because CommentID is not an …
Browse files Browse the repository at this point in the history
…int (#4246)

CommentID is an alpha-numerical string. Remove incorrect integer cast.
  • Loading branch information
zaliqarosli authored and driusan committed Jan 10, 2019
1 parent d6b3f38 commit 4b1193f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class NDB_BVL_InstrumentStatus_ControlPanel extends NDB_BVL_InstrumentStatus
? intval($_REQUEST['candID'])
: '';
$this->tpl_data['sessionID'] = intval($_REQUEST['sessionID']);
$this->tpl_data['commentID'] = intval($_REQUEST['commentID']);
$this->tpl_data['commentID'] = $_REQUEST['commentID'];
$this->tpl_data['test_name'] = $_REQUEST['test_name'];
$this->tpl_data['subtest'] = $_REQUEST['subtest'] ?? '';

Expand Down

0 comments on commit 4b1193f

Please sign in to comment.