Ignore:
Timestamp:
Mar 17, 2010, 1:55:26 AM (14 years ago)
Author:
patdenice
Message:

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

File:
1 edited

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);
Note: See TracChangeset for help on using the changeset viewer.