Fix phpcs
This commit is contained in:
parent
ef0b527379
commit
622304126e
@ -205,12 +205,8 @@ if (empty($reshook) && $action == 'add') {
|
|||||||
|
|
||||||
// We try to find the thirdparty or the member
|
// We try to find the thirdparty or the member
|
||||||
if (empty($conf->global->PARTNERSHIP_IS_MANAGED_FOR) || $conf->global->PARTNERSHIP_IS_MANAGED_FOR == 'thirdparty') {
|
if (empty($conf->global->PARTNERSHIP_IS_MANAGED_FOR) || $conf->global->PARTNERSHIP_IS_MANAGED_FOR == 'thirdparty') {
|
||||||
|
|
||||||
|
|
||||||
$partnership->fk_member = 0;
|
$partnership->fk_member = 0;
|
||||||
} elseif ($conf->global->PARTNERSHIP_IS_MANAGED_FOR == 'member') {
|
} elseif ($conf->global->PARTNERSHIP_IS_MANAGED_FOR == 'member') {
|
||||||
|
|
||||||
|
|
||||||
$partnership->fk_soc = 0;
|
$partnership->fk_soc = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user