diff options
author | Brion Vibber <brion@pobox.com> | 2010-12-17 15:04:10 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-12-17 15:05:45 -0800 |
commit | 04aa8bd70f0c3f84af349b8a801ea73753077760 (patch) | |
tree | 1a7de8716555a6ec1e681fc02875ad33752de5fd | |
parent | 66474586af58c4e505117f0fed7382831ec008b1 (diff) |
work around borkage in statuses/repeats -- tries to check an offset var that's not there. use the limit var which is there instead
-rw-r--r-- | classes/Notice.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index ef5fba063..c58705c4b 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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(); |