This commit is contained in:
bagtaib 2022-08-22 09:50:58 +01:00
parent 6cc872abd8
commit 376a2288b7

View File

@ -257,8 +257,7 @@ if (empty($reshook) && $action == 'add') {
$sql .= " WHERE rowid = ".((int) $company->id);
$resql = $db->query($sql);
$partnership->fk_soc = $company->id;
}
else {
} else {
$don=$result->fetch();
$partnership->fk_soc =$don['rowid'];
}