Credit to Joe Atzberger for cathing this.
---
 C4/Acquisition.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm
index 5fc05ce..d8a6c95 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);
     }
-- 
1.5.6.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to