temp fix for showcase
This commit is contained in:
@@ -57,7 +57,15 @@ class PreorderIFrameModel extends mfBaseModel
|
||||
";
|
||||
|
||||
$res = $this->db->query($query);
|
||||
return $this->db->fetch_all_assoc($res);
|
||||
$clusters = $this->db->fetch_all_assoc($res);
|
||||
|
||||
if (empty($clusters) || count($clusters) === 0) {
|
||||
return [
|
||||
['id' => 98, 'name' => 'Leibnitz', 'campaign_id' => 99, 'campaign_name' => 'X - Leibnitz']
|
||||
];
|
||||
}
|
||||
|
||||
return $clusters;
|
||||
}
|
||||
|
||||
public function findCities(string $zip, int $adb_network_id): array
|
||||
|
||||
Reference in New Issue
Block a user