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

Bernardo Gonzalez Kriegel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |[email protected]

--- Comment #2 from Bernardo Gonzalez Kriegel <[email protected]> ---
Aleisha,
// is not exactly the same as ||, as it returns first 'defined' value

Anyway, on current master I don't see the warning messages, and you changed the
first condition

before:
if ( $item->{itemnotforloan} > 0 || $item->{notforloan} > 0 || $itemtypes->{
$item->{itype} }->{notforloan} == 1 )

after:
if ( $item->{notforloan} > 0 // $item->{notforloan} > 0 // $itemtypes->{
$item->{itype} }->{notforloan} == 1 )


$item->{itemnotforloan} > 0 <=> $item->{notforloan} > 0

First and second condition on your 'if' are equal!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to