Updating recent fights controller typo.
This commit is contained in:
parent
5456271fb1
commit
b6e0706e3c
@ -51,7 +51,7 @@ public function getRecentFights() {
|
||||
$f2_uri = $f2->field_player_photo->entity->field_media_image->entity->getFileUri() ?? 'public://player-headshots/headshot-default.jpeg';
|
||||
|
||||
$f1_pic_url = str_replace("public://", "/sites/default/files/", $f1_uri);
|
||||
$f2_pic_url = str_replace("public://", "sites/default/files/", $f2_uri);
|
||||
$f2_pic_url = str_replace("public://", "/sites/default/files/", $f2_uri);
|
||||
|
||||
$fights[] = [
|
||||
'fighter_one' => $f1->getTitle(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user