From 05b5a2c9ed9e5c3ed05eec8748f4bebc381993c4 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 19 Nov 2009 11:56:05 -0800 Subject: 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. --- modules/gallery/libraries/Theme_View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gallery/libraries/Theme_View.php') diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php index b1167d0e..87d8de56 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 module::get_var("gallery", "thumb_size", 200) / 200; + return theme::get_var("thumb_size", 200) / 200; } public function item() { -- cgit v1.2.3