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, 6.1 has been updated
via 1aa6fe9fbae5ea8b769aa01fd10233fd02e2e9cb (commit)
from 8816311eff01a011f544f83681def9115ee2987e (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=1aa6fe9fbae5ea8b769aa01fd10233fd02e2e9cb
commit 1aa6fe9fbae5ea8b769aa01fd10233fd02e2e9cb
Author: Franck Villaume <[email protected]>
Date: Sun Apr 28 20:45:27 2019 +0200
fix [#908] wrong var & wrong reference
diff --git a/src/www/search/include/SearchManager.class.php
b/src/www/search/include/SearchManager.class.php
index 8c011609..f01d846 100644
--- a/src/www/search/include/SearchManager.class.php
+++ b/src/www/search/include/SearchManager.class.php
@@ -63,8 +63,8 @@ class SearchManager {
return $this->parametersValues;
}
- function addSearchEngine($type, &$searchEngine, $format =
SEARCH__OUTPUT_HTML) {
- $this->searchEngines[$format][$type] =& $searchEngine;
+ function addSearchEngine($type, $searchEngine, $format =
SEARCH__OUTPUT_HTML) {
+ $this->searchEngines[$format][$type] = $searchEngine;
}
function addParameter($parameterName) {
@@ -152,7 +152,7 @@ class SearchManager {
$ffSESoft = new GFSearchEngine(SEARCH__TYPE_IS_SOFTWARE,
'ProjectHtmlSearchRenderer', _('Projects'));
$this->addSearchEngine(
SEARCH__TYPE_IS_SOFTWARE,
- $gfSESoft
+ $ffSESoft
);
$ffSEPeople = new GFSearchEngine(SEARCH__TYPE_IS_PEOPLE,
'PeopleHtmlSearchRenderer', _('People'));
$this->addSearchEngine(
-----------------------------------------------------------------------
Summary of changes:
src/www/search/include/SearchManager.class.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits