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...
This commit is contained in:
shadlaws
2013-03-11 23:10:27 +01:00
parent ff5f386320
commit b6dc597c66
+1 -1
View File
@@ -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() {