diff --git a/htdocs/compta/bank/pre.inc.php3 b/htdocs/compta/bank/pre.inc.php3 index 9494b447454..3013955a198 100644 --- a/htdocs/compta/bank/pre.inc.php3 +++ b/htdocs/compta/bank/pre.inc.php3 @@ -1,8 +1,5 @@ - * - * $Id$ - * $Source$ +/* Copyright (C) 2001-2003 Rodolphe Quiedeville * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,6 +15,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * $Id$ + * $Source$ + * */ require("../../main.inc.php3"); @@ -39,7 +39,7 @@ function llxHeader($head = "") $menu->add_submenu("search.php3","Recherche"); $db = new Db(); - $sql = "SELECT rowid, label FROM llx_bank_account"; + $sql = "SELECT rowid, label FROM llx_bank_account where clos = 0"; $result = $db->query($sql); if ($result) {