From 8489ddc0f18d48f31f9d6ca9ff2806e918d27909 Mon Sep 17 00:00:00 2001 From: btoumi Date: Thu, 5 Apr 2007 15:55:56 +0000 Subject: [PATCH] bug fix : add another security in check of notify_id --- C4/Circulation/Fines.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Circulation/Fines.pm b/C4/Circulation/Fines.pm index b3fea32d69..cebdc8489e 100644 --- a/C4/Circulation/Fines.pm +++ b/C4/Circulation/Fines.pm @@ -659,7 +659,8 @@ sub NumberNotifyId{ my $query=qq| SELECT distinct(notify_id) FROM accountlines WHERE borrowernumber=? - AND notify_id != 0|; + AND notify_id != 0 + AND notify_id != 1 |; my @notify; my $sth=$dbh->prepare($query); $sth->execute($borrowernumber); -- 2.39.5