diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-19 15:18:15 -0800 | 
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-19 15:18:15 -0800 | 
| commit | 9b16537e2c7c2319670af02b7e4755d1b29d80a2 (patch) | |
| tree | 8557bc99c9193122b00f822e0bc8d03f058b99ef /modules/gallery/libraries/Theme_View.php | |
| parent | fa906f1c3defda281ad8450d5d257757dddf9e31 (diff) | |
Revert "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 05b5a2c9ed9e5c3ed05eec8748f4bebc381993c4.
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
| -rw-r--r-- | modules/gallery/libraries/Theme_View.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php index 87d8de56..b1167d0e 100644 --- a/modules/gallery/libraries/Theme_View.php +++ b/modules/gallery/libraries/Theme_View.php @@ -65,7 +65,7 @@ class Theme_View_Core extends Gallery_View {    public function thumb_proportion() {      // @TODO change the 200 to a theme supplied value when and if we come up with an      // API to allow the theme to set defaults. -    return theme::get_var("thumb_size", 200) / 200; +    return module::get_var("gallery", "thumb_size", 200) / 200;    }    public function item() { | 
