diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-03-11 16:35:20 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-03-11 16:35:20 -0700 |
commit | cc80fa035a83bb90a9efdda37e92f41b4df1314e (patch) | |
tree | 6d2e82ac1f1bbf440b34677be54350478f3d8578 /modules/gallery | |
parent | c36a4e6bbdb08e122b354754030d65b9c220083f (diff) | |
parent | b6dc597c6613df10f1b833f8bd1ea85602afceed (diff) |
Merge pull request #207 from shadlaws/fix_siblings_callback
Fix Theme_View::siblings bug - limit and offset reversed in sibling_callback.
Diffstat (limited to 'modules/gallery')
-rw-r--r-- | modules/gallery/libraries/Theme_View.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php index 0a4c96e1..91183753 100644 --- a/modules/gallery/libraries/Theme_View.php +++ b/modules/gallery/libraries/Theme_View.php @@ -89,7 +89,7 @@ class Theme_View_Core extends Gallery_View { public function siblings($limit=null, $offset=null) { return call_user_func_array( $this->siblings_callback[0], - array_merge($this->siblings_callback[1], array($offset, $limit))); + array_merge($this->siblings_callback[1], array($limit, $offset))); } public function tag() { |