Skip to content

Commit

Permalink
Undefined translation key when the licence of the diagram app is not …
Browse files Browse the repository at this point in the history
…valid xwikisas#38

* added include digram macro (leftover)
  • Loading branch information
CamiAndrei committed May 31, 2019
1 parent 85f0ac3 commit c5468fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/Diagram/DiagramMacro.xml
Expand Up @@ -234,6 +234,8 @@
#end
{{/velocity}}

{{include reference="Licenses.Code.VelocityMacros"/}}

{{velocity}}
## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right
## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that
Expand Down

0 comments on commit c5468fe

Please sign in to comment.