diff options
author | Jeffery To <jeffery.to@gmail.com> | 2009-06-12 20:03:18 +0800 |
---|---|---|
committer | Jeffery To <jeffery.to@gmail.com> | 2009-06-12 20:03:18 +0800 |
commit | 53f31a247e4355318e8a997451930a1b1772099c (patch) | |
tree | 15fe9c8e41a866eeff2e879e5e44b7f291d78f9a | |
parent | e2b20bd1e6087594b6069117ccb675f751ddc17a (diff) |
Fix missing max_id in API search calls
-rw-r--r-- | actions/twitapisearchatom.php | 1 | ||||
-rw-r--r-- | lib/jsonsearchresultslist.php | 1 |
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); |