[language_switch] error introduced in previous commit
git-svn-id: http://piwigo.org/svn/trunk@17149 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
87837aeef3
commit
ea2b7d1cfb
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ function language_controler_flags()
|
|||
|
||||
$url_starting = get_query_string_diff(array('lang'));
|
||||
|
||||
if ($page['section'] == 'additional_page' and isset($page['additional_page']))
|
||||
if (isset($page['section']) and $page['section'] == 'additional_page' and isset($page['additional_page']))
|
||||
{
|
||||
$base_url = make_index_url(array('section'=>'page')).'/'.(isset($page['additional_page']['permalink']) ? $page['additional_page']['permalink'] : $page['additional_page']['id']);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue