Merge pull request #19114 from nicolas-eoxia/fix_creation_new_member
fix: error on the creation of a new member #19112
This commit is contained in:
commit
bf098330fe
@ -935,8 +935,8 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
||||
$object->country = $tmparray['label'];
|
||||
}
|
||||
|
||||
$soc = new Societe($db);
|
||||
if (!empty($socid)) {
|
||||
$soc = new Societe($db);
|
||||
if ($socid > 0) {
|
||||
$soc->fetch($socid);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user