Created script to import customers from IVT

This commit is contained in:
Frank Schubert
2022-01-20 21:29:27 +01:00
parent 39d07f948e
commit 2cd9c44bda
7 changed files with 238 additions and 27 deletions

View File

@@ -70,7 +70,7 @@ class FileModel {
$db = FronkDB::singleton();
$where = self::getSqlFilter($filter);
$res = $db->select("File", "*", "$where ORDER BY name, filename");
$res = $db->select("File", "*", "$where ORDER BY name, filename LIMIT 1");
if($db->num_rows($res)) {
$data = $db->fetch_object($res);
$item = new File($data);