The variable $id seems to be never defined
This commit is contained in:
parent
94ae8e07af
commit
de741f5dd0
@ -1764,7 +1764,7 @@ abstract class CommonObject
|
|||||||
*/
|
*/
|
||||||
function setMulticurrencyCode($code)
|
function setMulticurrencyCode($code)
|
||||||
{
|
{
|
||||||
dol_syslog(get_class($this).'::setMulticurrencyCode('.$id.')');
|
dol_syslog(get_class($this).'::setMulticurrencyCode('.$code.')');
|
||||||
if ($this->statut >= 0 || $this->element == 'societe')
|
if ($this->statut >= 0 || $this->element == 'societe')
|
||||||
{
|
{
|
||||||
$fieldname = 'multicurrency_code';
|
$fieldname = 'multicurrency_code';
|
||||||
@ -1806,7 +1806,7 @@ abstract class CommonObject
|
|||||||
*/
|
*/
|
||||||
function setMulticurrencyRate($rate, $mode=1)
|
function setMulticurrencyRate($rate, $mode=1)
|
||||||
{
|
{
|
||||||
dol_syslog(get_class($this).'::setMulticurrencyRate('.$id.')');
|
dol_syslog(get_class($this).'::setMulticurrencyRate('.$rate.','.$mode.')');
|
||||||
if ($this->statut >= 0 || $this->element == 'societe')
|
if ($this->statut >= 0 || $this->element == 'societe')
|
||||||
{
|
{
|
||||||
$fieldname = 'multicurrency_tx';
|
$fieldname = 'multicurrency_tx';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user