Update import_xlsx.modules.php

This commit is contained in:
Günter Lukas 2022-08-07 14:43:26 +02:00 committed by GitHub
parent 1c7d3f96a5
commit 0f6effcdb0
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) {