fix bug "cannot revert preference to global"

This commit is contained in:
Jean-Marie Place 2023-02-18 11:51:57 +01:00
parent 9fd019554f
commit e64dc97ecf
1 changed files with 1 additions and 1 deletions

View File

@ -2128,7 +2128,7 @@ class BasePreferences(object):
if formsemestre_id:
descr[
"explanation"
] = """ou <span class="spanlink"
] = f"""ou <span class="spanlink"
onclick="set_global_pref(this, '{pref_name}');"
>utiliser paramètre global</span>"""
if formsemestre_id and self.is_global(formsemestre_id, pref_name):