From fb68d738ac7de23200068e58ff7dd9d9fe0042d9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 5 Feb 2011 23:34:05 +0000 Subject: [PATCH] New: If there is only one back account and value is mandatory, then value is preselected. --- htdocs/fourn/facture/paiement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php index f6339e301e4..b72742d5a27 100644 --- a/htdocs/fourn/facture/paiement.php +++ b/htdocs/fourn/facture/paiement.php @@ -423,7 +423,7 @@ if (! $_GET['action'] && ! $_POST['action']) $html->select_types_paiements($_REQUEST["search_paymenttype"],'search_paymenttype','',2,1,1); print ''; print ''; - $html->select_comptes($_REQUEST["search_account"],'search_account',0,'',1); + $html->select_comptes($_REQUEST["search_account"],'search_account',0,'',2); print ''; print ''; print '';