aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/template.class.php2
1 files changed, 1 insertions, 1 deletions
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);
}