diff --git a/application/src/Entity/Attribut/NameSourceAttribut.php b/application/src/Entity/Attribut/NameSourceAttribut.php index 8e3a7ce..17c1ee0 100644 --- a/application/src/Entity/Attribut/NameSourceAttribut.php +++ b/application/src/Entity/Attribut/NameSourceAttribut.php @@ -21,6 +21,6 @@ trait NameSourceAttribut public function getNameSource(): NameSourceInterface { - return $this->getNameSource(); + return $this->nameSource; } } diff --git a/application/templates/source/view/content/user.html.twig b/application/templates/source/view/content/user.html.twig index 9fe2559..00d27be 100644 --- a/application/templates/source/view/content/user.html.twig +++ b/application/templates/source/view/content/user.html.twig @@ -1 +1 @@ -{% include "source/view/content/name." ~ app.request.requestFormat ~ ".twig" with {'source':source.userSource}%} \ No newline at end of file +{% include "source/view/content/name." ~ app.request.requestFormat ~ ".twig" with {'source':source.nameSource}%} \ No newline at end of file