[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15282] property: update custom function
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [15282] property: update custom function |
Date: |
Tue, 14 Jun 2016 09:21:02 +0000 (UTC) |
Revision: 15282
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15282
Author: sigurdne
Date: 2016-06-14 09:21:02 +0000 (Tue, 14 Jun 2016)
Log Message:
-----------
property: update custom function
Modified Paths:
--------------
trunk/property/inc/class.boproject.inc.php
trunk/property/inc/custom/default/EBF_update_ticket_on_project_change.php
Modified: trunk/property/inc/class.boproject.inc.php
===================================================================
--- trunk/property/inc/class.boproject.inc.php 2016-06-14 09:19:44 UTC (rev
15281)
+++ trunk/property/inc/class.boproject.inc.php 2016-06-14 09:21:02 UTC (rev
15282)
@@ -985,6 +985,7 @@
else
{
$receipt = $this->so->add($project,
$values_attribute);
+ $project['id'] = $receipt['id'];
}
foreach ($custom_functions as $entry)
Modified:
trunk/property/inc/custom/default/EBF_update_ticket_on_project_change.php
===================================================================
--- trunk/property/inc/custom/default/EBF_update_ticket_on_project_change.php
2016-06-14 09:19:44 UTC (rev 15281)
+++ trunk/property/inc/custom/default/EBF_update_ticket_on_project_change.php
2016-06-14 09:21:02 UTC (rev 15282)
@@ -27,9 +27,9 @@
{
$origin =
$this->interlink->get_relation('property', '.project', $project['id'],
'origin');
}
- else if (isset($project['origin']) &&
is_array($project['origin']))
+ else if (isset($project['origin_data']) &&
is_array($project['origin_data']))
{
- $origin = $project['origin'];
+ $origin = $project['origin_data'];
}
else
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15282] property: update custom function,
sigurdne <=