From 24749efefd566a817632ce9a62ad0098c54d48c0 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 21 May 2009 09:00:09 -0500 Subject: [PATCH] clean up redundant test Credit to Joe Atzberger for cathing this. Signed-off-by: Galen Charlton Signed-off-by: Henri-Damien LAURENT --- C4/Acquisition.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 5fc05ce53c..d8a6c95e6e 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -731,7 +731,7 @@ sub SearchOrder { . ") or biblioitems.isbn=? OR (aqorders.ordernumber=? AND aqorders.biblionumber=?)) "; } - if( $biblionumber and $biblionumber ne "" ){ + if ( $biblionumber ) { $query .= "AND biblio.biblionumber = ? "; push (@searchterms, $biblionumber); } -- 2.39.5