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 05b5a2c9ed.
This commit is contained in:
Tim Almdal
2009-11-19 15:18:15 -08:00
parent fa906f1c3d
commit 9b16537e2c
15 changed files with 85 additions and 181 deletions
+1 -1
View File
@@ -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() {