BUG 6750 "Issue when using Report Tables in Processes" is solved now

There was a litle bug in a condition, was fixed and it works fine now
This commit is contained in:
Erik Amaru Ortiz
2011-04-15 11:08:18 -04:00
parent 9ba78c3843
commit 030418cb7a

View File

@@ -394,7 +394,7 @@ class ReportTables
$aImportedVars = array();//This array will help to control if the variable already exist
while ($aRow = $oDataset->getRow()) {
if ($bWhitType) {
if(in_array($aRow['REP_VAR_NAME'],$aImportedVars)){
if (!in_array($aRow['REP_VAR_NAME'], $aImportedVars)) {
$aImportedVars[]=$aRow['REP_VAR_NAME'];
$aVars[] = array('sFieldName' => $aRow['REP_VAR_NAME'], 'sType' => $aRow['REP_VAR_TYPE']);
}
@@ -823,4 +823,4 @@ class ReportTables
$PropelDatabase = 'workflow';
return ($PropelDatabase);
}
}
}