diff --git a/include/template.class.php b/include/template.class.php index d982bbb8e..453266706 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -98,7 +98,7 @@ class Template { include($root.'/'.$theme.'/themeconf.inc.php'); - if (isset($themeconf['parent'])) + if (isset($themeconf['parent']) and $themeconf['parent'] != $theme) { $this->set_theme($root, $themeconf['parent'], $path); }