From d822d4f41f15a926ea2ad48b499cfac52e8f46b7 Mon Sep 17 00:00:00 2001 From: shish Date: Sat, 6 Sep 2008 17:08:29 +0000 Subject: [PATCH] stricter get_theme_object git-svn-id: file:///home/shish/svn/shimmie2/trunk@1023 7f39781d-f577-437e-ae19-be835c7a54ca --- core/util.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util.inc.php b/core/util.inc.php index 7377a574..a41136d6 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -178,7 +178,7 @@ function _count_execs($db, $sql, $inputarray) { $null = null; return $null; } -function get_theme_object($class) { +function get_theme_object(Extension $class) { $base = get_class($class); if(class_exists("Custom{$base}Theme")) { $class = "Custom{$base}Theme";