This commit is contained in:
salam committed 2026-10-10 12:28:36 +02:00
1 parent 50e15caad1
commit fb2d5503f6
1 file changed
+1 -1
+1 -1
View File
@@ -679,7 +679,7 @@ class PlayerPropsDrop extends Widget
public function prepareLineUp() public function prepareLineUp()
{ {
$players = SofaScorePlayerPerSeason::with('details')->where('season', 'total')->where('ss_team_id', $this->team_id)->get(); $players = SofaScorePlayerPerSeason::with('details')->where('season', 'last_180_days')->where('ss_team_id', $this->team_id)->get();
$arr = collect(); $arr = collect();
foreach ($players as $value) { foreach ($players as $value) {
if ($value?->details->position ?? 0) { if ($value?->details->position ?? 0) {