summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorshadlaws <shad@shadlaws.com>2013-03-11 23:10:27 +0100
committershadlaws <shad@shadlaws.com>2013-03-11 23:10:27 +0100
commitb6dc597c6613df10f1b833f8bd1ea85602afceed (patch)
treeaebf2bcf4ad560e26c2cc9ddd80ef0d8953b8e69 /modules
parentff5f386320b150fe3e33440c0dba4c71bc1830ef (diff)
Fix Theme_View::siblings bug - limit and offset reversed in sibling_callback.
I wonder if this could be causing some random issues I see on the forums...
Diffstat (limited to 'modules')
-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() {