We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 04aa8bd7 authored by Brion Vibber's avatar Brion Vibber

work around borkage in statuses/repeats -- tries to check an offset var that's...

work around borkage in statuses/repeats -- tries to check an offset var that's not there. use the limit var which is there instead
parent 66474586
...@@ -1692,8 +1692,8 @@ class Notice extends Memcached_DataObject ...@@ -1692,8 +1692,8 @@ class Notice extends Memcached_DataObject
$notice->orderBy('created'); // NB: asc! $notice->orderBy('created'); // NB: asc!
if (!is_null($offset)) { if (!is_null($limit)) {
$notice->limit($offset, $limit); $notice->limit(0, $limit);
} }
$ids = array(); $ids = array();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment