[Koha-bugs] [Bug 14015] Checkout: Fix software error if barcode '0' is given

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 21 12:42:55 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14015

--- Comment #7 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 45873
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45873
Bug 14015 - Checkout: Fix software error if barcode '0' is given

Review of attachment 45873:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14015&attachment=45873)
-----------------------------------------------------------------

::: circ/circulation.pl
@@ +217,5 @@
>  }
>  
>  # check and see if we should print
> +# but do not set to 'yes' if barcode given by user is '0'
> +if ( ( @$barcodes == 0 )  && ( ! @$barcodes eq '0')  && ( $print eq 'maybe' )  ) {

What is supposed to test !@$barcodes eq '0' ??

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list