Ignore:
Timestamp:
10/27/10 06:54:42 (9 years ago)
Author:
repie38
Message:

fix error message for the new option (not in conf) while upgrade from 2.1.2
the new option will be ineffective until an update of conf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Random_Header/main.inc.php

    r7412 r7414  
    2323                foreach (get_pwg_themes() as $pwg_templateID => $pwg_template) { 
    2424                 
    25                           if (empty($this->rh_config[$pwg_templateID]['selected_cat']))  { 
     25                        if (empty($this->rh_config[$pwg_templateID]['selected_cat']))  { 
    2626 
    2727                                $this->rh_config[$pwg_templateID]['selected_cat'] = '0'; 
     
    3636                $this->save_config(); 
    3737                } 
     38                        if (!isset($this->rh_config[$pwg_templateID]['root_link'])) $this->rh_config[$pwg_templateID]['root_link']='off'; 
     39 
    3840                } 
    3941        } 
Note: See TracChangeset for help on using the changeset viewer.