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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8834
                CC: [email protected], [email protected]
          Assignee: [email protected]
           Summary: Call to C4::Context::preference fails to pass $self in
                    Circulation.pm
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: NEW
           Version: rel_3_8
         Component: Circulation
           Product: Koha

Currently line reads:
    my $circcontrol = C4::Context::preference('CircControl');
This fails to pass $self, which means the line:
    my $var  = lc(shift);  # The system preference to return
which is in C4::Context.pm (sub preference)
triggers the following error log entry:
[Thu Sep 27 12:23:16 2012] [error] [client 192.168.100.2] [Thu Sep 27 12:23:16
2012] renewscript.pl: Use of uninitialized value in lc at
/usr/share/koha/lib/C4/Context.pm line 529.

This of course was particularly confusing because the problem is neither in
renewscript.pl or Context.pm, but rather Circulation.pm.

This error happens to be in 'sub _debar_user_on_return', which may mean it may
or may not affect other user debarred on return bugs. That wasn't what I'm
testing for in this bug.

This does not exist in 3.6.x. This was discovered in 3.8.5. This exists in
3.8.x and master.

-- 
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]
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