Browse Source

changin accountid has value 0

Lamrani Abdel 2 years ago
parent
commit
ed94d0490a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/don/payment/payment.php

+ 1 - 1
htdocs/don/payment/payment.php

@@ -199,7 +199,7 @@ if ($action == 'create') {
 	print '<tr>';
 	print '<td class="fieldrequired">'.$langs->trans('AccountToCredit').'</td>';
 	print '<td colspan="2">';
-	$form->select_comptes(GETPOSTISSET("accountid") ? GETPOST("accountid") : $object->fk_account, "accountid", 0, '', 2); // Show open bank account list
+	$form->select_comptes(GETPOSTISSET("accountid") ? GETPOST("accountid") : "0", "accountid", 0, '', 2); // Show open bank account list
 	print '</td></tr>';
 
 	// Number