Skip to content

Commit 37a9a93

Browse files
committed
Phan fix
1 parent a55c31d commit 37a9a93

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

modules/electrophysiology_browser/php/sessions.class.inc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,15 @@ class Sessions extends \NDB_Page
461461
$fileSummary['downloads'] = $this->getDownloadLinks($physioFileObj);
462462
$fileSummary['chunks_urls'] = $physioFileObj->getChunksURLs();
463463

464+
$fileOutput = $db->pselectone(
465+
'SELECT pot.OutputTypeName
466+
FROM physiological_output_type pot
467+
INNER JOIN physiological_file AS pf
468+
ON pf.PhysiologicalFileID=:PFID
469+
AND pf.PhysiologicalOutputTypeID=pot.PhysiologicalOutputTypeID',
470+
['PFID' => $physioFileID]
471+
);
472+
464473
//Get the annotation data
465474
$annotations = new ElectrophysioAnnotations(
466475
intval($physioFileID)

0 commit comments

Comments
 (0)