This commit is contained in:
salam committed 2026-08-12 14:33:18 +02:00
1 parent ec081fd649
commit b5bc44dc14
1 file changed
+3 -1
+3 -1
View File
@@ -67,7 +67,9 @@ class LoadPlayer
$preferred_foot = $val->details->preferred_foot ?? '';
$player_position = ' (Role ' . $val->details->position . ')';
$player_position = '';
if (isset($val->details->position))
$player_position = ' (Role ' . $val->details->position . ')';
if (in_array($val->details->position, $positions_map['MIDFIELD'])) {
$position = 'MIDFIELD';