Created script to import customers from IVT
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user