[Fusionforge-commits] FusionForge branch master updated. 752c808dbaf897bccbea4d78f7548cc101e58689

Alain Peyrat aljeux at fusionforge.org
Fri Dec 7 15:35:53 CET 2012


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  752c808dbaf897bccbea4d78f7548cc101e58689 (commit)
       via  2c9cff97ae66874f22a4552f7244fafd9a9bc8a7 (commit)
      from  6089421ec571c6cd51d5be81d55b664656a5157e (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 -----------------------------------------------------------------
commit 752c808dbaf897bccbea4d78f7548cc101e58689
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Fri Dec 7 15:35:40 2012 +0100

    Use getStringID() in tracker & fix warning

diff --git a/src/common/tracker/actions/detail.php b/src/common/tracker/actions/detail.php
index 028f7f5..357bb68 100644
--- a/src/common/tracker/actions/detail.php
+++ b/src/common/tracker/actions/detail.php
@@ -31,7 +31,7 @@ global $aid;
 use_javascript('/tabber/tabber.js');
 html_use_coolfieldset();
 
-$ath->header(array ('title'=>'[#'. $ah->getID(). '] ' . $ah->getSummary(), 'atid'=>$ath->getID()));
+$ath->header(array ('title'=> $ah->getStringID() . $ah->getSummary(), 'atid'=>$ath->getID()));
 
 echo notepad_func();
 
@@ -97,7 +97,7 @@ echo notepad_func();
 
 		<tr><td colspan="2">
 			<br />
-			<?php echo $ah->showDetails(); ?>
+			<?php $ah->showDetails(); ?>
 		</td></tr>
 </table>
 <div id="tabber" class="tabber">

commit 2c9cff97ae66874f22a4552f7244fafd9a9bc8a7
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Fri Dec 7 15:35:04 2012 +0100

    Fix warnings, wrong variable in admin-updates.php

diff --git a/src/common/tracker/actions/admin-updates.php b/src/common/tracker/actions/admin-updates.php
index 42c57f4..ce6577a 100644
--- a/src/common/tracker/actions/admin-updates.php
+++ b/src/common/tracker/actions/admin-updates.php
@@ -187,7 +187,7 @@ if (getStringFromRequest('add_extrafield')) {
 		if (!$aef || !is_object($aef)) {
 			$error_msg .= _('Unable to create ArtifactExtraField Object');
 		} elseif ($aef->isError()) {
-			$error_msg .= $aefe->getErrorMessage();
+			$error_msg .= $aef->getErrorMessage();
 		} else {
 			$feedback .= ', Box: ';
 			$feedback .= $aef->getName();
@@ -547,7 +547,7 @@ if (getStringFromRequest('add_extrafield')) {
 	foreach ($elearray as $e) {
 		$from = $e['element_id'];
 		$next = isset($wk[$from]) ? array_keys($wk[$from]) : array();
-		$atw->saveNextNodes($from, array_keys($wk[$from]));
+		$atw->saveNextNodes($from, $next);
 	}
 	$feedback .= _('Workflow saved');
 

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

Summary of changes:
 src/common/tracker/actions/admin-updates.php |    4 ++--
 src/common/tracker/actions/detail.php        |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list