temp fix for showcase

This commit is contained in:
Luca Haid
2025-06-26 14:50:15 +02:00
parent 700f4030ec
commit 6bf27c7fe9

View File

@@ -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