Merged in victorsl/processmaker/HOR-1892-31 (pull request #4924)

HOR-1892
This commit is contained in:
Julio Cesar Laura Avendaño
2016-09-19 08:53:54 -04:00

View File

@@ -506,7 +506,8 @@ class pmTablesProxy extends HttpProxyController
$j = 0;
foreach ($aAdditionalTables['FIELDS'] as $aField) {
$conData++;
$temp = isset($aAux[$j]) ? '"'.addslashes(stripslashes($aAux[$j])).'"' : '""';
$temp = (array_key_exists($j, $aAux))? '"' . addslashes(stripslashes(utf8_encode($aAux[$j]))) . '"' : '""';
if ($temp == '') {
switch ($aField['FLD_TYPE']) {
case 'DATE':
@@ -1691,4 +1692,3 @@ class pmTablesProxy extends HttpProxyController
}
}
}