diff --git a/CHANGELOG.md b/CHANGELOG.md index 441fb318a..420719dfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,3 +41,7 @@ Version 1.5.6 - Update address validation - Add command to move person and all data of a person to a new one, and delete the old one. +Branche master +============== + +- fix error on macro renderPerson / withLink not taken into account diff --git a/Resources/views/Person/macro.html.twig b/Resources/views/Person/macro.html.twig index e6773f3ae..6c3a50f55 100644 --- a/Resources/views/Person/macro.html.twig +++ b/Resources/views/Person/macro.html.twig @@ -1 +1 @@ -{% macro render(p, withLink=false) %}{{ p.firstName }} {{ p.lastName }}{% endmacro %} \ No newline at end of file +{% macro render(p, withLink=true) %}{% if withLink %}{% endif %}{{ p.firstName }} {{ p.lastName }}{% if withLink %}{% endif %}{% endmacro %} \ No newline at end of file