Fix missing max_id in API search calls

This commit is contained in:
Jeffery To 2009-06-12 20:03:18 +08:00
parent e2b20bd1e6
commit 53f31a247e
2 changed files with 2 additions and 0 deletions

View File

@ -169,6 +169,7 @@ class TwitapisearchatomAction extends TwitterapiAction
$this->cnt = $notice->find();
$cnt = 0;
$this->max_id = 0;
while ($notice->fetch()) {

View File

@ -89,6 +89,7 @@ class JSONSearchResultsList
function show()
{
$cnt = 0;
$this->max_id = 0;
$time_start = microtime(true);