Skip to content

Commit

Permalink
The variable $id seems to be never defined
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Dec 9, 2019
1 parent 94ae8e0 commit de741f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/class/commonobject.class.php
Expand Up @@ -1764,7 +1764,7 @@ function setPaymentMethods($id)
*/
function setMulticurrencyCode($code)
{
dol_syslog(get_class($this).'::setMulticurrencyCode('.$id.')');
dol_syslog(get_class($this).'::setMulticurrencyCode('.$code.')');
if ($this->statut >= 0 || $this->element == 'societe')
{
$fieldname = 'multicurrency_code';
Expand Down Expand Up @@ -1806,7 +1806,7 @@ function setMulticurrencyCode($code)
*/
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')
{
$fieldname = 'multicurrency_tx';
Expand Down

0 comments on commit de741f5

Please sign in to comment.