This commit is contained in:
Damien LASSERRE 2011-04-06 13:42:55 +00:00
parent bdefad35f8
commit 0cbd786d18

View File

@ -54,8 +54,8 @@ $rapportExists = Doctrine_Query::create()
->andWhere('DataSetType = "'. $_GET['type'].'"')
->fetchOne();
if (!file_exists($rapportExists->UrlObjectRapportFile)) {
echo 'rentre';exit;
if (empty($rapportExists->CompanyId)) {
$nameFileRapport = 'rapport-'.date('Y-m-d').'-'.$_GET['pays'].'-'.$_GET['company'].'-'.$_GET['type'];
$soap_client2 = getClient($_GET['pays'], 'RetrieveDataSet');