From 150361c0e58e9a049b03693ce4859b9035d5c558 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 8 Nov 2019 15:44:49 +0100 Subject: [PATCH] Bug 24002: One more occurrence of datecancellationprinted Signed-off-by: Martin Renvoize --- C4/Biblio.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 443e445245..ce0d4fbdb6 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -3193,7 +3193,7 @@ sub CountBiblioInOrders { my $dbh = C4::Context->dbh; my $query = "SELECT count(*) FROM aqorders - WHERE biblionumber=? AND (datecancellationprinted IS NULL OR datecancellationprinted='0000-00-00')"; + WHERE biblionumber=? AND datecancellationprinted IS NULL"; my $sth = $dbh->prepare($query); $sth->execute($biblionumber); my $count = $sth->fetchrow; -- 2.39.2