summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/twitapisearchatom.php1
-rw-r--r--lib/jsonsearchresultslist.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/actions/twitapisearchatom.php b/actions/twitapisearchatom.php
index eb9ab5d8e..c223a7e27 100644
--- a/actions/twitapisearchatom.php
+++ b/actions/twitapisearchatom.php
@@ -169,6 +169,7 @@ class TwitapisearchatomAction extends TwitterapiAction
$this->cnt = $notice->find();
$cnt = 0;
+ $this->max_id = 0;
while ($notice->fetch()) {
diff --git a/lib/jsonsearchresultslist.php b/lib/jsonsearchresultslist.php
index f786c20a8..7beea9328 100644
--- a/lib/jsonsearchresultslist.php
+++ b/lib/jsonsearchresultslist.php
@@ -89,6 +89,7 @@ class JSONSearchResultsList
function show()
{
$cnt = 0;
+ $this->max_id = 0;
$time_start = microtime(true);