Fix phpcs

This commit is contained in:
Laurent Destailleur 2021-10-22 16:35:23 +02:00
parent ef0b527379
commit 622304126e

View File

@ -205,12 +205,8 @@ if (empty($reshook) && $action == 'add') {
// We try to find the thirdparty or the member
if (empty($conf->global->PARTNERSHIP_IS_MANAGED_FOR) || $conf->global->PARTNERSHIP_IS_MANAGED_FOR == 'thirdparty') {
$partnership->fk_member = 0;
} elseif ($conf->global->PARTNERSHIP_IS_MANAGED_FOR == 'member') {
$partnership->fk_soc = 0;
}