[Fusionforge-commits] FusionForge branch master updated. v6.0.5-2133-g87acdd3

Franck Villaume nerville at libremir.placard.fr.eu.org
Wed Sep 6 17:20:10 CEST 2017


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  87acdd3c00dd7eb8582a66a87812c5a26bc25762 (commit)
      from  5c285a2622faae471eaf60b001a39106ad994e79 (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=87acdd3c00dd7eb8582a66a87812c5a26bc25762

commit 87acdd3c00dd7eb8582a66a87812c5a26bc25762
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Wed Sep 6 15:20:06 2017 +0000

    fix SQL query

diff --git a/src/plugins/scmgit/common/GitPlugin.class.php b/src/plugins/scmgit/common/GitPlugin.class.php
index 80c921d..ee08b67 100644
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@ -700,7 +700,7 @@ control over it to the project's administrator.");
 
 			$this->gatherStatsRepo($project, $project->getUnixName(), $year, $month, $day);
 
-			$result = db_query_params('SELECT repo_name FROM scm_secondary_repos WHERE group_id=$1 AND plugin_id=$3 ORDER BY repo_name',
+			$result = db_query_params('SELECT repo_name FROM scm_secondary_repos WHERE group_id = $1 AND plugin_id = $2 ORDER BY repo_name',
 						   array($project->getID(),
 							  $this->getID()));
 			$rows = db_numrows($result);

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/scmgit/common/GitPlugin.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list