Maintenant avec une array

This commit is contained in:
Michael RICOIS 2012-02-20 13:13:32 +00:00
parent 4f6e428b24
commit a59c3dc0d4

View File

@ -508,7 +508,6 @@ foreach($tabIdentifiant as $item)
$values = ${$item.'Data'}; $values = ${$item.'Data'};
} }
$retour = call_user_func($item.'Data', $siren, $nicV, $values); $retour = call_user_func($item.'Data', $siren, $nicV, $values);
print_r($retour);
$tabData[$row] = $tabData[$row] + $retour; $tabData[$row] = $tabData[$row] + $retour;
} }
} }
@ -1067,7 +1066,7 @@ function indiScoreData($siren, $nic, $values = false)
$ret = $iDb->select('jo.bilans', 'MAX(dateExercice) as dateBilan', 'siren='.$siren, false, MYSQL_ASSOC); $ret = $iDb->select('jo.bilans', 'MAX(dateExercice) as dateBilan', 'siren='.$siren, false, MYSQL_ASSOC);
$tabData['dateBilan']= $ret[0]['dateBilan']; $tabData['dateBilan']= $ret[0]['dateBilan'];
} }
return $tabData;
} }
/* == FUNCTION == */ /* == FUNCTION == */