diff --git a/include/anc_great_ledger.inc.php b/include/anc_great_ledger.inc.php
index cfec33656..c79f15e98 100644
--- a/include/anc_great_ledger.inc.php
+++ b/include/anc_great_ledger.inc.php
@@ -10,7 +10,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
echo '
';
global $http;
require_once NOALYSS_INCLUDE.'/class/anc_grandlivre.class.php';
-
+$cn=Dossier::connect();
$grandLivre=new Anc_Grandlivre($cn);
$grandLivre->get_request();
@@ -35,18 +35,24 @@ if ($result != null)
echo _('Tout sélectionner')." ".ICheckBox::toggle_checkbox('export_pdf_bt1','export_anc_receipt_pdf');
echo '';
$task_id=uniqid();
- echo $grandLivre->show_button();
- printf ('';
- echo $grandLivre->show_button();
+ echo $grandLivre->button_export_csv();
?>