From cf301e499a3a1cc74b474dbe0f0446d3063d52c9 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 --- 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.11.0