fix
This commit is contained in:
parent
527e68fc0d
commit
d9279f1be7
1 changed files with 9 additions and 11 deletions
|
|
@ -64,12 +64,10 @@ $ogDescription = "Dive into the detailed match stats of DTCH Clan in PUBG. Explo
|
||||||
if ($match['stats']['name'] === $selected_player) {
|
if ($match['stats']['name'] === $selected_player) {
|
||||||
|
|
||||||
|
|
||||||
foreach ($player_data['player_matches'] as $match) {
|
|
||||||
if (isset($_GET['filter_by_match_type'])) {
|
if (isset($_GET['filter_by_match_type'])) {
|
||||||
if ($_GET['filter_by_match_type'] !== 'all' && $match['matchType'] !== $_GET['filter_by_match_type']) {
|
if ($_GET['filter_by_match_type'] !== 'all' && $match['matchType'] !== $_GET['filter_by_match_type']) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
$date = new DateTime($match['createdAt']);
|
$date = new DateTime($match['createdAt']);
|
||||||
$date->modify('+1 hours');
|
$date->modify('+1 hours');
|
||||||
$formattedDate = $date->format('m-d H:i:s');
|
$formattedDate = $date->format('m-d H:i:s');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue