diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-04-23 19:48:22 +0400 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-23 19:48:22 +0400 |
commit | 662edec2d51164828137db791eede76171b79f98 (patch) | |
tree | 4e9bec09245456aaa16699b3e23527b464d2723a /reader | |
parent | 8f59d76963ae82065d6620aed2208fe17979e8c4 (diff) |
Fix missing 5th argument for OC_Search_Result in activity and reader
Fix #1772
Diffstat (limited to 'reader')
-rwxr-xr-x | reader/lib/search.php | 2 |
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; |