diff options
author | mistic100 <mistic@piwigo.org> | 2012-07-26 21:25:04 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-07-26 21:25:04 +0000 |
commit | ea2b7d1cfb8401b18d3e968934de90fd8d953734 (patch) | |
tree | e1b845486e1b145eb618182ab9fa46089d6f5b5c /plugins | |
parent | 87837aeef3ebddc90d0c927c3c48a661f288aa02 (diff) |
[language_switch] error introduced in previous commit
git-svn-id: http://piwigo.org/svn/trunk@17149 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/language_switch/language_switch.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_switch/language_switch.inc.php b/plugins/language_switch/language_switch.inc.php index 7b99f4b06..b5318746a 100644 --- a/plugins/language_switch/language_switch.inc.php +++ b/plugins/language_switch/language_switch.inc.php @@ -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']); } |