work around borkage in statuses/repeats -- tries to check an offset var that's not there. use the limit var which is there instead

This commit is contained in:
Brion Vibber 2010-12-17 15:04:10 -08:00
parent 66474586af
commit 04aa8bd70f

View File

@ -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();