summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2013-03-11 16:35:20 -0700
committerBharat Mediratta <bharat@menalto.com>2013-03-11 16:35:20 -0700
commitcc80fa035a83bb90a9efdda37e92f41b4df1314e (patch)
tree6d2e82ac1f1bbf440b34677be54350478f3d8578
parentc36a4e6bbdb08e122b354754030d65b9c220083f (diff)
parentb6dc597c6613df10f1b833f8bd1ea85602afceed (diff)
Merge pull request #207 from shadlaws/fix_siblings_callback
Fix Theme_View::siblings bug - limit and offset reversed in sibling_callback.
-rw-r--r--modules/gallery/libraries/Theme_View.php2
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() {