Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/reader
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-23 19:48:22 +0400
committerJoas Schilling <nickvergessen@gmx.de>2014-04-23 19:48:22 +0400
commit662edec2d51164828137db791eede76171b79f98 (patch)
tree4e9bec09245456aaa16699b3e23527b464d2723a /reader
parent8f59d76963ae82065d6620aed2208fe17979e8c4 (diff)
Fix missing 5th argument for OC_Search_Result in activity and reader
Fix #1772
Diffstat (limited to 'reader')
-rwxr-xr-xreader/lib/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/reader/lib/search.php b/reader/lib/search.php
index 2964bce55..c8bef5bbd 100755
--- a/reader/lib/search.php
+++ b/reader/lib/search.php
@@ -7,7 +7,7 @@ class OC_ReaderSearchProvider extends OC_Search_Provider{
$file=$fileData['path'];
$mime=$fileData['mimetype'];
if($mime=='application/pdf'){
- $results[]=new OC_Search_Result(basename($file),'',OC_Helper::linkTo( 'reader', 'results.php' ).'?file='.$file,'eBook');
+ $results[]=new OC_Search_Result(basename($file),'',OC_Helper::linkTo( 'reader', 'results.php' ).'?file='.$file,'eBook', dirname($file));
}
}
return $results;