refactor C4::Log::logaction
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 18 Mar 2008 22:49:34 +0000 (17:49 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 19 Mar 2008 11:34:10 +0000 (06:34 -0500)
commitafb36c429eb77226e25d9d4fe91a7d6f9afe9ced
tree5947ec0875f3259d380555930addef7c53cfefb2
parentd3e3cc1780eb7e126b43f1d4e46fa5d77de11615
refactor C4::Log::logaction

This fix should resolve in whole or in part several bugs
characterized by the error message 'Can't use string ("0")
as a HASH ref while "strict refs" in use', including
bugs 1101, 1899, and 1910.

There are some possibilities for future work:

[1] Dealing with an operator override, e.g., where
    a circ operator needs to get a supervisor
    to enter a login and password and escalate
    the original operator's privileges for a
    transaction, e.g., to forgive a fine.  This
    is an enhancement, of course.
[2] Creating a dummy operator to represent
    batch job runs; or alternatively, give
    each batch job an option to log its work
    under a specified user ID.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Biblio.pm
C4/Circulation.pm
C4/Items.pm
C4/Letters.pm
C4/Log.pm
C4/Members.pm
C4/Overdues.pm
C4/Serials.pm