Skip to content

Commit

Permalink
Update WikiFileViewController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
creecros authored Oct 16, 2018
1 parent a536406 commit 094ab6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/WikiFileViewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected function renderFileWithCache(array $file, $mimetype)
*/
public function show()
{
$file = $file = $this->wikiFile->getById($this->request->getIntegerParam('fid'));
$file = $this->wikiFile->getById($this->request->getIntegerParam('fid'));
$type = $this->helper->file->getPreviewType($file['name']);
$params = array('file_id' => $file['id'], 'project_id' => $this->request->getIntegerParam('project_id'));

Expand Down

0 comments on commit 094ab6d

Please sign in to comment.