Changeset 5154

Show
Ignore:
Timestamp:
03/17/10 01:55:26 (3 years ago)
Author:
patdenice
Message:

Feature 1502: Avoid 500 error if parent theme is the theme itself.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/include/template.class.php

    r5126 r5154  
    9999    include($root.'/'.$theme.'/themeconf.inc.php'); 
    100100 
    101     if (isset($themeconf['parent'])) 
     101    if (isset($themeconf['parent']) and $themeconf['parent'] != $theme) 
    102102    { 
    103103      $this->set_theme($root, $themeconf['parent'], $path);