This commit is contained in:
salam committed 2026-05-21 13:15:59 +02:00
1 parent 465e068e01
commit 193647ff0a
1 file changed
+3 -3
+3 -3
View File
@@ -21,7 +21,7 @@ class ImportPlayer
$row = array_values($row);
print_r($row);
// print_r($row);
$update_array = [];
foreach ($fieldnames as $key => $name) {
@@ -29,9 +29,9 @@ class ImportPlayer
$update_array[$name] = $row[$offset];
}
dd($update_array);
// dd($update_array);
StatistikoPlayer::where('sport_id', $row[0])
StatistikoPlayer::where('sport_id', (int) $row[0])
->where('match_id', (int) $row[1])
->where('ss_player_id', (int) $row[2])
->where('tm_player_id', (int) $row[3])