Fix the export of array values.
This commit is contained in:
@@ -156,7 +156,7 @@ class GranularExporter
|
||||
{
|
||||
//verifying data consistency group
|
||||
switch (true) {
|
||||
case $migratorData['workflow-definition']['groupwfs']:
|
||||
case !empty($migratorData['workflow-definition']['groupwfs']):
|
||||
foreach ($this->data['workflow-definition']['groupwfs'] as $rowGroup) {
|
||||
foreach ($migratorData['workflow-definition']['groupwfs'] as $key => $row) {
|
||||
if ($rowGroup['GRP_UID'] == $row['GRP_UID']) {
|
||||
|
||||
@@ -71,7 +71,7 @@ class PMXGenerator
|
||||
$recordData = array_change_key_case($recordData, CASE_LOWER);
|
||||
|
||||
foreach ($recordData as $key => $value) {
|
||||
if (is_object($value)) {
|
||||
if (is_object($value) || is_array($value)) {
|
||||
$value = serialize($value);
|
||||
}
|
||||
$columnNode = $this->domDocument->createElement($key);
|
||||
|
||||
Reference in New Issue
Block a user