fix stafix style errorsle fix stale errorfix style errors

This commit is contained in:
daraelmin 2021-03-28 19:38:20 +02:00
parent 6fdff2c3ab
commit 1ae0e2a920
2 changed files with 2 additions and 3 deletions

View File

@ -549,8 +549,7 @@ if (empty($reshook)) {
$db->commit(); $db->commit();
$rowid = $object->id; $rowid = $object->id;
$id = $object->id; $id = $object->id;
} else { } else {
$db->rollback(); $db->rollback();

View File

@ -3798,7 +3798,7 @@ class Societe extends CommonObject
$this->typent_id = ($member->morphy == 'phy' ? 8 : 0); // The type of thirdparty is private (individual) if the member is human (phy) $this->typent_id = ($member->morphy == 'phy' ? 8 : 0); // The type of thirdparty is private (individual) if the member is human (phy)
$this->db->begin(); $this->db->begin();
// Cree et positionne $this->id // Cree et positionne $this->id
$result = $this->create($user); $result = $this->create($user);