diff options
Diffstat (limited to 'lib/search/provider/file.php')
-rw-r--r-- | lib/search/provider/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/search/provider/file.php b/lib/search/provider/file.php index 0d4b332b792..ea536ef77de 100644 --- a/lib/search/provider/file.php +++ b/lib/search/provider/file.php @@ -16,7 +16,7 @@ class OC_Search_Provider_File extends OC_Search_Provider{ $link = OC_Helper::linkTo( 'files', 'index.php', array('dir' => $path)); $type = (string)$l->t('Files'); }else{ - $link = OC_Helper::linkTo( 'files', 'download.php', array('file' => $path)); + $link = OC_Helper::linkToRoute( 'download', array('file' => $path)); $mimeBase = $fileData['mimepart']; switch($mimeBase) { case 'audio': |