Verified Commit f5a5de0f authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(supann) Fix supann user tab use in templates

issue #5833
Showing with 6 additions and 0 deletions
+6 -0
...@@ -569,6 +569,12 @@ class supannAccount extends simplePlugin ...@@ -569,6 +569,12 @@ class supannAccount extends simplePlugin
$this->updateFieldsChoices(); $this->updateFieldsChoices();
} }
function adapt_from_template($attrs, $skip = array())
{
parent::adapt_from_template($attrs, $skip);
$this->updateFieldsChoices();
}
protected function prepare_save () protected function prepare_save ()
{ {
$this->attributesAccess['supannEtuInscription']->supannPrepareSave(); $this->attributesAccess['supannEtuInscription']->supannPrepareSave();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment