wip
This commit is contained in:
1 parent
b5bc44dc14
commit
34b93bd49f
1 file changed
+2
@@ -71,6 +71,7 @@ class LoadPlayer
|
||||
if (isset($val->details->position))
|
||||
$player_position = ' (Role ' . $val->details->position . ')';
|
||||
|
||||
if (isset($val->details->position)) {
|
||||
if (in_array($val->details->position, $positions_map['MIDFIELD'])) {
|
||||
$position = 'MIDFIELD';
|
||||
} else if (in_array($val->details->position, $positions_map['DEFENCE'])) {
|
||||
@@ -83,6 +84,7 @@ class LoadPlayer
|
||||
$player_position = $val->details->position;
|
||||
$position = 'NO SPECIFIC POSITION';
|
||||
}
|
||||
}
|
||||
|
||||
$infostring = $events_played . ' Ev';
|
||||
if ($preferred_foot)
|
||||
|
||||
Reference in new issue
Block a user