Improvement for the bug 9544

This commit is contained in:
Julio Cesar Laura
2012-09-26 19:58:48 -04:00
parent 4e5de8cf81
commit cc3443ddf9

View File

@@ -649,6 +649,14 @@ class pmTablesProxy extends HttpProxyController
$j = 0;
foreach ($aAdditionalTables['FIELDS'] as $aField) {
$aData[$aField['FLD_NAME']] = (isset($aAux[$j]) ? $aAux[$j] : '');
if ($aData[$aField['FLD_NAME']] == '') {
switch ($aField['FLD_TYPE']) {
case 'DATE':
case 'TIMESTAMP':
$aData[$aField['FLD_NAME']] = null;
break;
}
}
$j++;
}
try {