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:37 -0800 |
| commit | c5d14438959346551765757a506689a7d8b13665 (patch) | |
| tree | 73f4339de8c3070718787872a261ca1af05065cd | |
| parent | 1cab4221ab03afb532ce20e0b8eb0da33ea3bec5 (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") |
