From a55921ae744916b177afa65baf34b11e7f8d30a6 Mon Sep 17 00:00:00 2001 From: Laetitia Fesselier Date: Tue, 22 Nov 2022 14:56:14 -0500 Subject: [PATCH] Phan fix --- modules/electrophysiology_browser/php/sessions.class.inc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/electrophysiology_browser/php/sessions.class.inc b/modules/electrophysiology_browser/php/sessions.class.inc index 3b2d64c690b..d10b3a25492 100644 --- a/modules/electrophysiology_browser/php/sessions.class.inc +++ b/modules/electrophysiology_browser/php/sessions.class.inc @@ -461,6 +461,15 @@ class Sessions extends \NDB_Page $fileSummary['downloads'] = $this->getDownloadLinks($physioFileObj); $fileSummary['chunks_urls'] = $physioFileObj->getChunksURLs(); + $fileOutput = $db->pselectone( + 'SELECT pot.OutputTypeName + FROM physiological_output_type pot + INNER JOIN physiological_file AS pf + ON pf.PhysiologicalFileID=:PFID + AND pf.PhysiologicalOutputTypeID=pot.PhysiologicalOutputTypeID', + ['PFID' => $physioFileID] + ); + //Get the annotation data $annotations = new ElectrophysioAnnotations( intval($physioFileID)