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:
parent
66474586af
commit
04aa8bd70f
|
@ -1692,8 +1692,8 @@ class Notice extends Memcached_DataObject
|
|||
|
||||
$notice->orderBy('created'); // NB: asc!
|
||||
|
||||
if (!is_null($offset)) {
|
||||
$notice->limit($offset, $limit);
|
||||
if (!is_null($limit)) {
|
||||
$notice->limit(0, $limit);
|
||||
}
|
||||
|
||||
$ids = array();
|
||||
|
|
Loading…
Reference in New Issue
Block a user