FIX can not set prospect status "Do not contact"
This commit is contained in:
parent
89261d51e3
commit
83afee6047
@ -1479,7 +1479,7 @@ class Societe extends CommonObject
|
|||||||
|
|
||||||
$sql .= ",fk_effectif = ".($this->effectif_id > 0 ? ((int) $this->effectif_id) : "null");
|
$sql .= ",fk_effectif = ".($this->effectif_id > 0 ? ((int) $this->effectif_id) : "null");
|
||||||
if (isset($this->stcomm_id)) {
|
if (isset($this->stcomm_id)) {
|
||||||
$sql .= ",fk_stcomm=".($this->stcomm_id > 0 ? ((int) $this->stcomm_id) : "0");
|
$sql .= ",fk_stcomm=".($this->stcomm_id >= -1 ? ((int) $this->stcomm_id) : "0");
|
||||||
}
|
}
|
||||||
if (isset($this->typent_id)) {
|
if (isset($this->typent_id)) {
|
||||||
$sql .= ",fk_typent = ".($this->typent_id > 0 ? ((int) $this->typent_id) : "0");
|
$sql .= ",fk_typent = ".($this->typent_id > 0 ? ((int) $this->typent_id) : "0");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user