Skip to content

Commit

Permalink
feat(form): default language for new form unset
Browse files Browse the repository at this point in the history
Admins now need to explicitly set a language to use it as an access restriction
  • Loading branch information
btry committed May 17, 2022
1 parent 8542adc commit a57e4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/pages/form.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

{% block form_fields %}
{% if item.isNewItem() %}
{% set language = session('glpilanguage') %}
{% set language = '' %}
{% set iconColor = '#999999' %}
{% set bgColor = '#E7E7E7' %}
{% else %}
Expand Down

0 comments on commit a57e4a6

Please sign in to comment.