stricter get_theme_object
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1023 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
4e143e9f05
commit
d822d4f41f
@ -178,7 +178,7 @@ function _count_execs($db, $sql, $inputarray) {
|
|||||||
$null = null; return $null;
|
$null = null; return $null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_theme_object($class) {
|
function get_theme_object(Extension $class) {
|
||||||
$base = get_class($class);
|
$base = get_class($class);
|
||||||
if(class_exists("Custom{$base}Theme")) {
|
if(class_exists("Custom{$base}Theme")) {
|
||||||
$class = "Custom{$base}Theme";
|
$class = "Custom{$base}Theme";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user