Fix missing max_id in API search calls
This commit is contained in:
parent
e2b20bd1e6
commit
53f31a247e
|
@ -169,6 +169,7 @@ class TwitapisearchatomAction extends TwitterapiAction
|
||||||
$this->cnt = $notice->find();
|
$this->cnt = $notice->find();
|
||||||
|
|
||||||
$cnt = 0;
|
$cnt = 0;
|
||||||
|
$this->max_id = 0;
|
||||||
|
|
||||||
while ($notice->fetch()) {
|
while ($notice->fetch()) {
|
||||||
|
|
||||||
|
|
|
@ -89,6 +89,7 @@ class JSONSearchResultsList
|
||||||
function show()
|
function show()
|
||||||
{
|
{
|
||||||
$cnt = 0;
|
$cnt = 0;
|
||||||
|
$this->max_id = 0;
|
||||||
|
|
||||||
$time_start = microtime(true);
|
$time_start = microtime(true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user