diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-27 14:28:24 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-27 14:28:24 +0200 |
commit | 38371d12756a3d64b8381cf034ae0774b5934df1 (patch) | |
tree | 913bdd5346a76af3c06604a7a3c6fa16cd5f97fa /lib/search | |
parent | 0fb707d2c90846c1231cdefac79e9b58c8351c81 (diff) | |
parent | 0c40a061e4925181101196d379137fb020924980 (diff) | |
download | nextcloud-server-38371d12756a3d64b8381cf034ae0774b5934df1.tar.gz nextcloud-server-38371d12756a3d64b8381cf034ae0774b5934df1.zip |
Merge branch 'master' into filesystem
Diffstat (limited to 'lib/search')
-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 456e12b5ec2..4d88c2a87f1 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': |