Merge branch 'develop' into 'master'

fix sourceJalPdf : add select id

See merge request !5
This commit is contained in:
potier 2017-04-13 15:01:15 +00:00
commit 6fe1952351

View File

@ -85,7 +85,7 @@ if ($opts->cron) {
$fileDate = date('Ymd', filectime($filePath)); $fileDate = date('Ymd', filectime($filePath));
$isInsert = false; $isInsert = false;
$jalSql = "SELECT pdfName FROM octde.jalpdfsed WHERE pdfName=:file"; $jalSql = "SELECT id, pdfName FROM octde.jalpdfsed WHERE pdfName=:file";
$jalStmt = $conn->prepare($jalSql); $jalStmt = $conn->prepare($jalSql);
$jalStmt->bindValue('file', $fileName); $jalStmt->bindValue('file', $fileName);
$jalStmt->execute(); $jalStmt->execute();