fix player_name
This commit is contained in:
1 parent
ad0724f61b
commit
d4e5a2f181
1 file changed
+2
-2
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace App\Filament\Widgets\Data;
|
||||
|
||||
use Illuminate\Support\Carbon;
|
||||
use App\Models\StatistikoDetail;
|
||||
use App\Models\StatistikoPlayer;
|
||||
use Illuminate\Support\Carbon;
|
||||
|
||||
class LoadPlayerPerformance
|
||||
{
|
||||
@@ -36,7 +36,7 @@ class LoadPlayerPerformance
|
||||
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') {
|
||||
$statistic_type = 'gls';
|
||||
|
||||
Reference in new issue
Block a user