Fix: Bad error log

This commit is contained in:
Laurent Destailleur 2010-05-05 16:59:27 +00:00
parent 6c53b28163
commit 709692e592

View File

@ -700,7 +700,7 @@ class Societe extends CommonObject
} }
else else
{ {
$this->error='Societe::Fetch no third party found for id='.$this->id; $this->error='Societe::Fetch no third party found for id='.$socid;
dol_syslog($this->error, LOG_ERR); dol_syslog($this->error, LOG_ERR);
$result = -2; $result = -2;
} }