mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user