This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 8d58e74a82486da552158d04299ece636493b31e (commit)
from 0bace9156368b4f6db202f4c744697efd7ec9fdc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=8d58e74a82486da552158d04299ece636493b31e
commit 8d58e74a82486da552158d04299ece636493b31e
Author: Franck Villaume <[email protected]>
Date: Wed May 1 15:05:30 2019 +0200
fix wrong tab selected for admin user
diff --git a/src/common/include/Navigation.class.php
b/src/common/include/Navigation.class.php
index e017c87..b5d1e8b 100644
--- a/src/common/include/Navigation.class.php
+++ b/src/common/include/Navigation.class.php
@@ -300,7 +300,7 @@ class Navigation extends FFError {
$menu['titles'][] = _('Site Admin');
$menu['urls'][] = util_make_uri('/admin/');
$menu['tooltips'][] = _('Administration Submenu to
handle global configuration, users & projects.');
- if (strstr($request_uri, '/admin/') ||
strstr($request_uri, 'type=globaladmin')) {
+ if (strstr($request_uri,
forge_get_config('url_prefix').'/admin/') || strstr($request_uri,
'type=globaladmin')) {
$selected = count($menu['urls'])-1;
}
}
-----------------------------------------------------------------------
Summary of changes:
src/common/include/Navigation.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits