diff options
author | Brion Vibber <brion@status.net> | 2010-11-19 14:03:59 -0800 |
---|---|---|
committer | Brion Vibber <brion@status.net> | 2010-11-19 14:03:59 -0800 |
commit | e0e7cb7c5376a7adfdcf8e0724aedfae3de471ef (patch) | |
tree | b6f7b353545b3bcff3a0325d4fb33d863a364afd /lib | |
parent | 407663fb402f0384cced2b63a2f901d19ab71d19 (diff) | |
parent | ca55d6c514d4ecadbb7d3fdc4c618dfd9da4a786 (diff) |
Merge branch 'master' into 0.9.x
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jsonsearchresultslist.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/jsonsearchresultslist.php b/lib/jsonsearchresultslist.php index 0d72ddf7a..80d4036aa 100644 --- a/lib/jsonsearchresultslist.php +++ b/lib/jsonsearchresultslist.php @@ -101,6 +101,10 @@ class JSONSearchResultsList $this->max_id = (int)$this->notice->id; } + if ($this->since_id && $this->notice->id <= $this->since_id) { + break; + } + if ($cnt > $this->rpp) { break; } |