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 5f6899e437dd4ba102206eb2cd2af57ac1ecbf79 (commit)
from 9b341ae4b5121ad3eeaa551104172d170799bde0 (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=5f6899e437dd4ba102206eb2cd2af57ac1ecbf79
commit 5f6899e437dd4ba102206eb2cd2af57ac1ecbf79
Author: Franck Villaume <[email protected]>
Date: Mon Jul 11 17:34:07 2016 +0200
fix PHP warning
diff --git
a/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php
b/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php
index 62b7b71..ef5b4c9 100644
--- a/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php
+++ b/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php
@@ -92,7 +92,7 @@ class ProjectHtmlSearchRenderer extends HtmlSearchRenderer {
$project_name = str_replace('<b>', '', $project_name);
$project_name = str_replace('</b>', '', $project_name);
- if ($result['type'] == 2) {
+ if ($result['type_id'] == 2) {
session_redirect('/foundry/'.$project_name.'/');
} else {
if (forge_check_perm ('project_read', $project_id)) {
-----------------------------------------------------------------------
Summary of changes:
src/www/search/include/renderers/ProjectHtmlSearchRenderer.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