Merged in gproly/processmaker (pull request #1390)
PM-1452 IMPROVEMENT reference value, for php5.4
This commit is contained in:
@@ -157,14 +157,14 @@ class pmDynaform
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function mergeDynContentAppData($app_uid, &$items)
|
public function mergeDynContentAppData($app_uid, $items)
|
||||||
{
|
{
|
||||||
$dynContent = G::json_decode($this->record["DYN_CONTENT"]);
|
$dynContent = G::json_decode($this->record["DYN_CONTENT"]);
|
||||||
if (isset($dynContent->items)) {
|
if (isset($dynContent->items)) {
|
||||||
$this->items = $dynContent->items[0]->items;
|
$this->items = $dynContent->items[0]->items;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->mergeAppData($app_uid, &$items);
|
$this->mergeAppData($app_uid, $items);
|
||||||
$dynContent->items[0]->items = $this->items;
|
$dynContent->items[0]->items = $this->items;
|
||||||
|
|
||||||
$a = G::json_encode($dynContent);
|
$a = G::json_encode($dynContent);
|
||||||
|
|||||||
Reference in New Issue
Block a user