Address: changed country to country_id with Country table

This commit is contained in:
Frank Schubert
2024-02-20 20:20:48 +01:00
parent c83fc9bcca
commit 20163e6008
20 changed files with 455 additions and 54 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class CountryModel {
$db = FronkDB::singleton();
$res = $db->select("Country", "*", "1 = 1 ORDER BY owner_id,`create`");
$res = $db->select("Country", "*", "1 = 1 ORDER BY isocode");
if($db->num_rows($res)) {
while($data = $db->fetch_object($res)) {
$items[] = new Country($data);