Also remove duplicate agreement in member update method #1788

This commit is contained in:
Kijin Sung 2021-09-11 00:26:12 +09:00
parent 891b57c770
commit a02d5cb554

View file

@ -432,6 +432,7 @@ class member extends ModuleObject
$agreement->use_editor = 'Y';
$agreement->type = 'required';
$config->agreements[] = $agreement;
$config->agreement = null;
$changed = true;
}