AddessLink WIP

This commit is contained in:
Frank Schubert
2022-06-28 13:25:37 +02:00
parent a6652c5ab8
commit bbfc6c6eb5
7 changed files with 393 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ class AddressModel {
$res = $db->select("Address", "*", "$where ORDER BY company, lastname, firstname, zip, city LIMIT 1");
if($db->num_rows($res)) {
$data = $db->fetch_object($res);
$item = new Voicenumber($data);
$item = new Address($data);
if($item->id) {
return $item;
} else {