aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2015-03-03 22:35:22 -0500
committerGravatar Alexis Degrugillier <github@ainw.org> 2015-03-03 22:35:22 -0500
commitf3f8d73dda3c9882f383e721eb3cc47be5a6c706 (patch)
tree5fbc244f5e4712ca4c1509f44900200ce1c81156 /p
parentcdd653ce5305f043ee1db970c25303676c9f35c0 (diff)
Fix API to use the search object
Since the internal of the listWhere method was changed, the API wasn't working. It was still calling the method with the old parameters. I didn't test it but now, it should work.
Diffstat (limited to 'p')
-rw-r--r--p/api/greader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/greader.php b/p/api/greader.php
index ab1a02244..060aa45ee 100644
--- a/p/api/greader.php
+++ b/p/api/greader.php
@@ -371,7 +371,7 @@ function streamContents($path, $include_target, $start_time, $count, $order, $ex
}
$entryDAO = FreshRSS_Factory::createEntryDao();
- $entries = $entryDAO->listWhere($type, $include_target, $state, $order === 'o' ? 'ASC' : 'DESC', $count, $continuation, '', $start_time);
+ $entries = $entryDAO->listWhere($type, $include_target, $state, $order === 'o' ? 'ASC' : 'DESC', $count, $continuation, new FreshRSS_Search(''), $start_time);
$items = array();
foreach ($entries as $entry) {