fix player_name

This commit is contained in:
salam committed 2026-08-04 16:40:51 +02:00
1 parent ad0724f61b
commit d4e5a2f181
1 file changed
+2 -2
@@ -2,9 +2,9 @@
namespace App\Filament\Widgets\Data; namespace App\Filament\Widgets\Data;
use Illuminate\Support\Carbon;
use App\Models\StatistikoDetail; use App\Models\StatistikoDetail;
use App\Models\StatistikoPlayer; use App\Models\StatistikoPlayer;
use Illuminate\Support\Carbon;
class LoadPlayerPerformance class LoadPlayerPerformance
{ {
@@ -36,7 +36,7 @@ class LoadPlayerPerformance
return []; return [];
} }
$player_name = StatistikoDetail::where('ss_player_id', (int) $ss_player_id)->value('name'); $player_name = StatistikoDetail::where('ss_player_id', (int) $ss_player_id)->value('player_name');
if ($statistic_type == 'none') { if ($statistic_type == 'none') {
$statistic_type = 'gls'; $statistic_type = 'gls';