[Fusionforge-commits] FusionForge branch Branch_5_1 updated. a87dc4c23ce452b0fb0e454b7359eafa9f90d1d1
Franck VILLAUME
nerville at fusionforge.org
Sat Jan 4 19:57:13 CET 2014
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, Branch_5_1 has been updated
via a87dc4c23ce452b0fb0e454b7359eafa9f90d1d1 (commit)
from 7ce3d5e8434eae994dbe4a1b9f37cf4603484a97 (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 a87dc4c23ce452b0fb0e454b7359eafa9f90d1d1
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Sat Jan 4 19:56:33 2014 +0100
fix [#489]: mass update custom field: backport fix from Branch_5_2
diff --git a/src/common/tracker/ArtifactType.class.php b/src/common/tracker/ArtifactType.class.php
index dafeaa4..61ba103 100644
--- a/src/common/tracker/ArtifactType.class.php
+++ b/src/common/tracker/ArtifactType.class.php
@@ -604,7 +604,12 @@ class ArtifactType extends Error {
* @return arrays of data;
*/
function getExtraFields($types=array()) {
- $filter=implode (',',$types);
+ if (count($types)) {
+ $filter = implode(',', $types);
+ $types = explode(',', $filter);
+ } else {
+ $filter = '';
+ }
if (!isset($this->extra_fields["$filter"])) {
$this->extra_fields["$filter"] = array();
if (count($types)) {
-----------------------------------------------------------------------
Summary of changes:
src/common/tracker/ArtifactType.class.php | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list