[Fusionforge-commits] FusionForge branch master updated. 6.0.4-849-g3b06f6c

Franck Villaume nerville at libremir.placard.fr.eu.org
Wed Sep 7 21:49:25 CEST 2016


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  3b06f6cdf048ec262786235d71d8f768801a96bb (commit)
      from  fd9ec048665275045a53d620a029b54ecc29b8b5 (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=3b06f6cdf048ec262786235d71d8f768801a96bb

commit 3b06f6cdf048ec262786235d71d8f768801a96bb
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Wed Sep 7 21:48:56 2016 +0200

    ArtifactHistory: use the correct view

diff --git a/src/common/tracker/ArtifactHistory.class.php b/src/common/tracker/ArtifactHistory.class.php
index 41e25bf..77c0cee 100644
--- a/src/common/tracker/ArtifactHistory.class.php
+++ b/src/common/tracker/ArtifactHistory.class.php
@@ -4,6 +4,7 @@
  *
  * Copyright 2004, GForge, LLC
  * Copyright 2009, Roland Mas
+ * Copyright 2016, Franck Villaume - TrivialDev
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -74,7 +75,7 @@ class ArtifactHistory extends FFError {
 	 * @return	boolean	success.
 	 */
 	function fetchData($id) {
-		$res = db_query_params ('SELECT * FROM artifact_category WHERE id=$1',
+		$res = db_query_params ('SELECT * FROM artifact_history_user_vw WHERE id=$1',
 					array ($id)) ;
 		if (!$res || db_numrows($res) < 1) {
 			$this->setError(_('Invalid ArtifactHistory ID'));

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

Summary of changes:
 src/common/tracker/ArtifactHistory.class.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list