From 8a99eedc6cb6655e4e1cb1fb3449d601511ea83a Mon Sep 17 00:00:00 2001 From: Spangaro Alexandre Date: Sun, 30 Sep 2012 14:40:31 +0200 Subject: [PATCH] Hum... Now it's work ! Little fix --- htdocs/admin/compta.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/htdocs/admin/compta.php b/htdocs/admin/compta.php index 407dca5200d..23e0ea845f1 100644 --- a/htdocs/admin/compta.php +++ b/htdocs/admin/compta.php @@ -57,8 +57,6 @@ if ($action == 'setcomptamode') } -$chartofaccounts = defined('CHARTOFACCOUNTS')?CHARTOFACCOUNTS:''; - if ($action == 'setchart') { $chartofaccounts = GETPOST('chartofaccounts','alpha'); @@ -176,7 +174,7 @@ if (! empty($conf->global->ACCOUNTING_SELECTCHART) && ! empty($conf->accounting- print ''; print "".$langs->trans("Selectchartofaccounts").""; print ""; - print ''; print ''; $sql = "SELECT rowid, pcg_version, fk_pays, label, active"; @@ -196,7 +194,7 @@ if (! empty($conf->global->ACCOUNTING_SELECTCHART) && ! empty($conf->accounting- print ''; + print '>'.$row[1].' - '.$row[3].''; $i++; }