Address: changed country to country_id with Country table
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user