Changeset 17150


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

[language_switch] merge r17149 from trunk
error introduced in previous commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/plugins/language_switch/language_switch.inc.php

    r17069 r17150  
    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.