Skip to content

Commit

Permalink
Merge pull request #680 from eerison/using_dynamically_education
Browse files Browse the repository at this point in the history
Fix // for curriculum
  • Loading branch information
eerison authored Aug 12, 2022
2 parents 0125e3c + 53b800c commit 8a2e60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/SetWebSiteInUserListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function postLoad($entity): void
}

$webSite = $this->urlGenerator->generate('app_user_profile', ['slug' => $entity->getSlug()], UrlGeneratorInterface::ABSOLUTE_URL);
$webSite = str_replace(['http', 'https', 'www'], '', $webSite);
$webSite = str_replace(['http://', 'https://', 'www'], '', $webSite);

$entity->setWebSite($webSite);
}
Expand Down

0 comments on commit 8a2e60e

Please sign in to comment.