Skip to content

Commit d7e1de1

Browse files
[NDB_BVL_Feedback] Fixing 500 error on instrument list page (#8694)
A recent change (#7826) to the NDB_BVL_Feedback class causes the following 500 Error to appear when the instrument_list page is loaded. This is because references are made to Timepoint::singleton instead of TimePoint::singleton. Fix casing.
1 parent 577e3a7 commit d7e1de1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/libraries/NDB_BVL_Feedback.class.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ class NDB_BVL_Feedback
489489
if (!empty($this->_feedbackObjectInfo['SessionID'])) {
490490
$query .= " AND ft.SessionID = :SID";
491491
$qparams['SID'] = $this->_feedbackObjectInfo['SessionID'];
492-
$timepoint = Timepoint::singleton(
492+
$timepoint = TimePoint::singleton(
493493
new SessionID($qparams['SID'])
494494
);
495495
$hasReadPermission = (
@@ -580,7 +580,7 @@ class NDB_BVL_Feedback
580580
} elseif (!empty($this->_feedbackObjectInfo['SessionID'])) {
581581
$query .= " AND ft.SessionID = :SID AND ft.CommentID is null";
582582
$qparams['SID'] = $this->_feedbackObjectInfo['SessionID'];
583-
$timepoint = Timepoint::singleton(
583+
$timepoint = TimePoint::singleton(
584584
new SessionID($qparams['SID'])
585585
);
586586
$hasReadPermission = (

0 commit comments

Comments
 (0)