aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-09-04 09:19:36 +0000
committerz0rglub <z0rglub@piwigo.org>2004-09-04 09:19:36 +0000
commit1f8b6b0790d76d98f74e55d6551fce9be7d7e08e (patch)
treee92659ed886ad2f141703c8824398d383af78a4f
parentdd38c1463991eb623e2d810525bd4d341cba1ef1 (diff)
when clicking on configuration page of admin panel, the general section in
the menu was not displayed as the focused one. git-svn-id: http://piwigo.org/svn/trunk@515 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/configuration.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index c14f54f12..6db69fa1c 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -232,7 +232,7 @@ $template->assign_vars(
$base_url = PHPWG_ROOT_PATH.'admin.php?page=configuration&amp;section=';
foreach (array_keys($sections) as $section)
{
- if (isset($_GET['section']) and $_GET['section'] == $section)
+ if ($section == $page['section'])
{
$class = 'opened';
}