Changeset 17149


Ignore:
Timestamp:
07/26/12 23:25:04 (7 years ago)
Author:
mistic100
Message:

[language_switch] error introduced in previous commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/language_switch/language_switch.inc.php

    r17064 r17149  
    9999  $url_starting = get_query_string_diff(array('lang')); 
    100100   
    101   if ($page['section'] == 'additional_page' and isset($page['additional_page'])) 
     101  if (isset($page['section']) and $page['section'] == 'additional_page' and isset($page['additional_page'])) 
    102102  { 
    103103    $base_url = make_index_url(array('section'=>'page')).'/'.(isset($page['additional_page']['permalink']) ? $page['additional_page']['permalink'] : $page['additional_page']['id']); 
Note: See TracChangeset for help on using the changeset viewer.