diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-02-15 13:00:26 -0500 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-02-15 13:00:26 -0500 |
commit | 96a01c86d9bd15f9dc91c60be6f236deab2ffad9 (patch) | |
tree | db06b9a5ab2b03a0475f536b9792435059f999e9 /modules/gallery/libraries/Theme_View.php | |
parent | 16b8b8d16b8b46fe1e60b2a86f9ee5883dbc892f (diff) | |
parent | 5b6c138da1e53e93e4de8079885fcef29d12e673 (diff) |
Merge branch 'master' into jquery_190
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
-rw-r--r-- | modules/gallery/libraries/Theme_View.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php index cf384109..986fc8a2 100644 --- a/modules/gallery/libraries/Theme_View.php +++ b/modules/gallery/libraries/Theme_View.php @@ -86,8 +86,10 @@ class Theme_View_Core extends Gallery_View { return $this->item; } - public function siblings() { - return call_user_func_array($this->siblings_callback[0], $this->siblings_callback[1]); + 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))); } public function tag() { |