diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-19 11:44:01 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-19 11:44:01 -0800 |
commit | 57adefc5baa7a2b0dfcd3e736e80c2fa86d3bfa2 (patch) | |
tree | 2ac5da34d0a47af96ace932dbdc002a35f0e4cda /modules/search | |
parent | 6fd1e2af1f081c61bde47cee5b613778a46e1422 (diff) |
Revert "Create theme::get_var(), theme::set_var() methods to set the options of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme."
This reverts commit 26114972c3388f065220b94a0d5962f20a6ccd0c.
Diffstat (limited to 'modules/search')
-rw-r--r-- | modules/search/controllers/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/controllers/search.php b/modules/search/controllers/search.php index fcee5233..539e063f 100644 --- a/modules/search/controllers/search.php +++ b/modules/search/controllers/search.php @@ -19,7 +19,7 @@ */ class Search_Controller extends Controller { public function index() { - $page_size = theme::get_var("page_size", 9); + $page_size = module::get_var("gallery", "page_size", 9); $q = $this->input->get("q"); $page = $this->input->get("page", 1); $offset = ($page - 1) * $page_size; |