Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
c083499a35
1 changed files with 1 additions and 1 deletions
|
|
@ -1275,7 +1275,7 @@ abstract class CommonObject
|
|||
} elseif ($obj = $this->db->fetch_object($resql_allowed_contacts)) {
|
||||
if ($obj->cnt == 0) {
|
||||
$langs->load("companies");
|
||||
$this->error = $langs->trans("ErrorCommercialNotAllowedForThirdparty", $user->admin);
|
||||
$this->error = $langs->trans("ErrorCommercialNotAllowedForThirdparty", $user->id);
|
||||
dol_syslog(get_class($this)."::add_contact ".$this->error, LOG_ERR);
|
||||
return -3;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue