From: Jeffery To Date: Fri, 12 Jun 2009 12:03:18 +0000 (+0800) Subject: Fix missing max_id in API search calls X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=53f31a247e4355318e8a997451930a1b1772099c;p=quix0rs-gnu-social.git Fix missing max_id in API search calls --- diff --git a/actions/twitapisearchatom.php b/actions/twitapisearchatom.php index eb9ab5d8e9..c223a7e27c 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 f786c20a80..7beea9328d 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);