diff options
| author | Nathan Kinkade <nkinkade@nkinka.de> | 2010-01-06 18:03:19 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nkinkade@nkinka.de> | 2010-01-06 18:03:19 +0000 |
| commit | 232c0b7fd0df7f84543bc29380a0734ef1e84a02 (patch) | |
| tree | d5c4a59943387359a018a6f62c7915dfba7ff2d2 /modules/tag/models | |
| parent | bee51f53373aa6973a809fa5d6a6fd487e9d6426 (diff) | |
| parent | c5d14438959346551765757a506689a7d8b13665 (diff) | |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/tag/models')
| -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") |
