From 709692e592e0f97722b1aee6260784d77e27f436 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 5 May 2010 16:59:27 +0000 Subject: [PATCH] Fix: Bad error log --- htdocs/societe/class/societe.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 31f2d0ee56e..2ccdf3e4980 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -684,7 +684,7 @@ class Societe extends CommonObject $this->remise_client = $obj->remise_client; // TODO obsolete $this->mode_reglement = $obj->mode_reglement; // TODO obsolete $this->cond_reglement = $obj->cond_reglement; // TODO obsolete - + $this->client = $obj->client; $this->fournisseur = $obj->fournisseur; @@ -700,7 +700,7 @@ class Societe extends CommonObject } 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); $result = -2; }