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  9fdbeb4a2316a337c217efbcfd7158115be3a727 (commit)
      from  e9ddc8e75a10ca3fda84ff0c081ca79f8a505c4f (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=9fdbeb4a2316a337c217efbcfd7158115be3a727

commit 9fdbeb4a2316a337c217efbcfd7158115be3a727
Author: Franck Villaume <[email protected]>
Date:   Thu Feb 2 07:59:41 2017 +0000

    fix PHP <5.5 support

diff --git a/src/common/tracker/ArtifactType.class.php 
b/src/common/tracker/ArtifactType.class.php
index dbb397d..34709fd 100644
--- a/src/common/tracker/ArtifactType.class.php
+++ b/src/common/tracker/ArtifactType.class.php
@@ -966,7 +966,8 @@ class ArtifactType extends FFError {
                                }
                        }
                        // update Dependency between extrafield
-                       if (!empty($oef->getParent()) && $oef->getParent() != 
100) {
+                       $oefParent = $oef->getParent();
+                       if (!empty($oefParent) && $oef->getParent() != 100) {
                                if (!$nef->update($nef->getName(), 
$nef->getAttribute1(), $nef->getAttribute2(), $nef->isRequired(), 
$nef->getAlias(), $nef->getShow100(), $nef->getShow100label(), 
$nef->getDescription(), $nef->getPattern(), $newEFIds[$oef->getParent()], 
$nef->isAutoAssign(), $nef->isHiddenOnSubmit(), $nef->isDisabled())) {
                                        db_rollback();
                                        $this->setError(_('Error Updating New 
Extra Field Parent')._(':').' '.$nef->getErrorMessage());

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

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


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to