Skip to content

Commit

Permalink
Fix: [ bug #1836 ] Required parameter missing in Rejetprelevement line
Browse files Browse the repository at this point in the history
159
  • Loading branch information
Juanjo Menent committed Mar 14, 2015
1 parent 4ae1106 commit 851cae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/compta/prelevement/class/rejetprelevement.class.php
Expand Up @@ -156,7 +156,7 @@ function create($user, $id, $motif, $date_rejet, $bonid, $facturation=0)
}
else
{
$result=$pai->addPaymentToBank($user,'payment','(InvoiceRefused)',$bankaccount);
$result=$pai->addPaymentToBank($user,'payment','(InvoiceRefused)',$bankaccount,'','');
if ($result < 0)
{
dol_syslog("RejetPrelevement::Create AddPaymentToBan Error");
Expand Down

0 comments on commit 851cae8

Please sign in to comment.