https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37865

Peter Vashchuk <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #171185|0                           |1
        is obsolete|                            |

--- Comment #3 from Peter Vashchuk <[email protected]> ---
Created attachment 171186
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=171186&action=edit
Bug 37865: Fix uninitialized value $op warns

[WARN] Use of uninitialized value $op in string eq at
/usr/share/koha/intranet/cgi-bin/circ/circulation.pl line 144.
[WARN] Use of uninitialized value $op in string eq at
/usr/share/koha/intranet/cgi-bin/circ/returns.pl line 253.
These happen in cases when $op is undef and circulation.pl or returns.pl tries
to directly compare it to a string.

To reproduce:
1. Go to "Check Out" and "Check In" circulation pages, or refresh already
opened one.
2. Check your logs for "Use of uninitialized value $op" warning.
3. Apply patch.
4. Repeat step 1 and check that no new "Use of uninitialized value $op" error
were logged.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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