mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-06 15:10:44 -04:00
Merge pull request #207 from shadlaws/fix_siblings_callback
Fix Theme_View::siblings bug - limit and offset reversed in sibling_callback.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user