Skip to content
Snippets Groups Projects
Commit aac584af authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #2320 from defrance69/patch-46

Update paiement.class.php
parents 505f1946 50ff9d2d
No related branches found
No related tags found
No related merge requests found
......@@ -488,7 +488,7 @@ class Paiement extends CommonObject
$fac->thirdparty->name,
'company'
);
if ($result <= 0) dol_print_error($this->db);
if ($result <= 0) dol_syslog(get_class($this).'::addPaymentToBank '.$this->db->lasterror());
$linkaddedforthirdparty[$fac->thirdparty->id]=$fac->thirdparty->id; // Mark as done for this thirdparty
}
}
......@@ -506,7 +506,7 @@ class Paiement extends CommonObject
$fac->thirdparty->name,
'company'
);
if ($result <= 0) dol_print_error($this->db);
if ($result <= 0) dol_syslog(get_class($this).'::addPaymentToBank '.$this->db->lasterror());
$linkaddedforthirdparty[$fac->thirdparty->id]=$fac->thirdparty->id; // Mark as done for this thirdparty
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment