From f9c7a67e369775a4e3b3727a4993bfc57c24e846 Mon Sep 17 00:00:00 2001
From: Rodolphe Quiedeville <rodolphe@quiedeville.org>
Date: Mon, 1 Aug 2005 08:52:03 +0000
Subject: [PATCH] Bugfix

---
 scripts/banque/graph-solde.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/banque/graph-solde.php b/scripts/banque/graph-solde.php
index c4283db01b4..1368c386e59 100644
--- a/scripts/banque/graph-solde.php
+++ b/scripts/banque/graph-solde.php
@@ -68,7 +68,7 @@ else
 
 $sql = "SELECT distinct(fk_account)";
 $sql .= " FROM ".MAIN_DB_PREFIX."bank";
-//$sql .= " WHERE date_format(datev,'%Y%m') = '".$year.$month."'";
+$sql .= " WHERE fk_account IS NOT NULL";
 
 $resql = $db->query($sql);
 
-- 
GitLab