diff --git a/htdocs/accountancy/class/html.formventilation.class.php b/htdocs/accountancy/class/html.formventilation.class.php
index e9d65943eac..b6d49e0c36a 100644
--- a/htdocs/accountancy/class/html.formventilation.class.php
+++ b/htdocs/accountancy/class/html.formventilation.class.php
@@ -48,12 +48,13 @@ class FormVentilation extends Form
* @param string $selectedkey Value
* @return string HTML edit field
*/
- function select_bookkeeping_importkey($htmlname = 'importkey', $selectedkey) {
+ function select_bookkeeping_importkey($htmlname = 'importkey', $selectedkey)
+ {
global $langs;
$date_array = array ();
- $sql = 'SELECT DISTINCT import_key from ' . MAIN_DB_PREFIX . 'accounting_bookkeeping';
+ $sql = 'SELECT DISTINCT import_key from ' . MAIN_DB_PREFIX . 'accounting_bookkeeping';
$sql .= ' ORDER BY import_key DESC';
$out = '