[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1274-gc06ff23

Franck Villaume nerville at libremir.placard.fr.eu.org
Sat Dec 24 15:52:53 CET 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  c06ff234b00ae99ccc5b0d7b0dfdb4da5f670111 (commit)
      from  356f8c439e4262df13c6e3326ec3d837f9f0a9b7 (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=c06ff234b00ae99ccc5b0d7b0dfdb4da5f670111

commit c06ff234b00ae99ccc5b0d7b0dfdb4da5f670111
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sat Dec 24 15:52:22 2016 +0100

    fix getFlattedArtifacts SOAP function

diff --git a/src/www/soap/tracker/tracker.php b/src/www/soap/tracker/tracker.php
index f35f5a6..88c592d 100644
--- a/src/www/soap/tracker/tracker.php
+++ b/src/www/soap/tracker/tracker.php
@@ -817,7 +817,6 @@ function getArtifacts($session_ser, $group_id, $group_artifact_id, $assigned_to,
 		return new soap_fault('', 'getArtifacts', $af->getErrorMessage(), $af->getErrorMessage());
 	}
 	return util_strip_unprintable(artifacts_to_soap($artifacts));
-
 }
 
 //
@@ -861,7 +860,6 @@ function getFlattedArtifacts($session_ser, $group_id, $group_artifact_id, $assig
 		return new soap_fault('', 'getFlattedArtifacts', $af->getErrorMessage(), $af->getErrorMessage());
 	}
 	return util_strip_unprintable(flattedartifacts_to_soap($artifacts));
-
 }
 
 //
@@ -957,7 +955,7 @@ function flattedartifacts_to_soap($at_arr) {
 				if(is_array($extrafieldsdatatext) && count($extrafieldsdatatext) > 0) {
 					foreach ($extrafieldsdatatext as $extrafielddatatext) {
 						$fldarr = array();
-						$fldarr = array('extra_field_name' => $extrafielddatatext[0], 'field_value' => $extrafielddatatext[1]);
+						$fldarr = array('extra_field_name' => $extrafielddatatext['name'], 'field_value' => $extrafielddatatext['value']);
 						$flddata[]=$fldarr;
 						unset($fldarr);
 					}

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

Summary of changes:
 src/www/soap/tracker/tracker.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list