diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-19 11:56:05 -0800 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-19 11:56:05 -0800 |
| commit | 05b5a2c9ed9e5c3ed05eec8748f4bebc381993c4 (patch) | |
| tree | 27c04669fe535293795a9e5455ae96b6b250d548 /modules/tag | |
| parent | 630099364515fd0fd0453b4b548048c8a32c831c (diff) | |
Revert "Revert "Use call_user_func instead of call_user_func_array as we don't need to pass the parameters by reference.""
This reverts commit 630099364515fd0fd0453b4b548048c8a32c831c.
Diffstat (limited to 'modules/tag')
| -rw-r--r-- | modules/tag/controllers/tags.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/controllers/tags.php b/modules/tag/controllers/tags.php index 52001719..6dc77d56 100644 --- a/modules/tag/controllers/tags.php +++ b/modules/tag/controllers/tags.php @@ -21,7 +21,7 @@ class Tags_Controller extends REST_Controller { protected $resource_type = "tag"; public function _show($tag) { - $page_size = module::get_var("gallery", "page_size", 9); + $page_size = theme::get_var("page_size", 9); $page = (int) $this->input->get("page", "1"); $children_count = $tag->items_count(); $offset = ($page-1) * $page_size; |
