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

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

Use of uninitialized value $op in string eq at
/home/vagrant/kohaclone/circ/circulation.pl line 145.:
/home/vagrant/kohaclone/circ/circulation.pl
This happened because in cases when $op was undef and circulation.pl tried to
directly compare it to string.

To reproduce:
1. Go to "Check Out" page of a patron, or refresh already opened one.
2. Check your logs for "Use of uninitialized value $op" warn.
3. Apply patch.
4. Repeat step 1 and check that there's no new "Use of uninitialized value $op"
error

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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