Merge pull request #21684 from GunterLukasConsulting/glu000-patch-21474

Update import_xlsx.modules.php
This commit is contained in:
Laurent Destailleur 2022-08-10 04:20:45 +02:00 committed by GitHub
commit 68c7cd930d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -863,7 +863,7 @@ class ImportXlsx extends ModeleImports
if (empty($keyfield)) {
$keyfield = 'rowid';
}
$sqlSelect .= "WHERE " . $keyfield . " = " .((int) $lastinsertid);
$sqlSelect .= " WHERE " . $keyfield . " = " .((int) $lastinsertid);
$resql = $this->db->query($sqlSelect);
if ($resql) {