This commit is contained in:
salam committed 2026-03-06 08:27:14 +01:00
1 parent d4af92be54
commit 84c8490de3
3 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -281,7 +281,7 @@ class Odds
];
ElementGroup::updateOrCreate(['element_id' => (int) $row->ateam['id'], 'group_id' => (int) $row->group['id']], $element_group);
if (Event::where('id', $event_id)->exists()) {
if ($event_id && Event::where('id', $event_id)->exists()) {
// inconsistency with CONSTRAINT when getting only market updates
foreach ($row->bookmaker as $book) {