diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-05 12:05:22 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-05 12:05:22 -0800 |
commit | d18be7fe550e1233e7a19184529f1b87a6249343 (patch) | |
tree | 4bd64751d54b8156c8dc2fbb4f6b8dab36986c71 | |
parent | 3fffa18e650189e7f846592c9d4c3e7bbfe71c62 (diff) |
$offset should be null by default, not 0. Hold over bug from the K24 migration.
-rw-r--r-- | modules/tag/models/tag.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/models/tag.php b/modules/tag/models/tag.php index d0d2117c..2b33c30d 100644 --- a/modules/tag/models/tag.php +++ b/modules/tag/models/tag.php @@ -27,7 +27,7 @@ class Tag_Model extends ORM { * @param string $type the type of item (album, photo) * @return ORM_Iterator */ - public function items($limit=null, $offset=0, $type=null) { + public function items($limit=null, $offset=null, $type=null) { $model = ORM::factory("item") ->viewable() ->join("items_tags", "items.id", "items_tags.item_id") |