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 c57d9740e7dfe19faccfcfd30762f0f1e789aead (commit)
from 6fa25f7c0749ce198f5a2e25943c6c894c97af5b (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=c57d9740e7dfe19faccfcfd30762f0f1e789aead
commit c57d9740e7dfe19faccfcfd30762f0f1e789aead
Author: Marc-Etienne Vargenau <[email protected]>
Date: Thu Sep 1 15:00:31 2016 +0200
quickNav: consistent return
diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 4ddfcce..ab34ff1 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -715,13 +715,13 @@ if (isset($params['group']) && $params['group']) {
*/
function quickNav() {
if (!session_loggedin()) {
- return;
+ return '';
} else {
// get all projects that the user belongs to
$groups = session_get_user()->getGroups();
if (count($groups) < 1) {
- return;
+ return '';
} else {
$result = $this->openForm(array('id' =>
'quicknavform', 'name' => 'quicknavform', 'action' => ''));
$result .= html_ao('div');
-----------------------------------------------------------------------
Summary of changes:
src/www/include/Layout.class.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits