Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 8b4b889

Browse files
committed
BUG: refs #236. Fix broken UploadDownloadController test
1 parent a2f624a commit 8b4b889

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/controllers/DownloadController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public function indexAction()
124124
$this->_redirect($bitstreams[0]->getPath());
125125
return;
126126
}
127+
$this->_helper->viewRenderer->setNoRender();
127128
$componentLoader = new MIDAS_ComponentLoader();
128129
$downloadComponent = $componentLoader->loadComponent('DownloadBitstream');
129130
if($this->_getParam('testingmode') == '1')

0 commit comments

Comments
 (0)