fix: error on the creation of a new member
This commit is contained in:
parent
d54423990d
commit
d7dd54549a
@ -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