Added missing Penalty module import for AssetCommon
authorBill Erickson <berick@esilibrary.com>
Thu, 29 Sep 2011 15:57:46 +0000 (11:57 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 29 Sep 2011 16:00:35 +0000 (12:00 -0400)
The lack of import primarily affected the Action/Trigger MarkItemLost
reactor, which does not already import OpenILS::Utils::Penalty directly
or indirectly.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/AssetCommon.pm

index 80b6423..673e470 100644 (file)
@@ -9,6 +9,7 @@ use OpenILS::Utils::Fieldmapper;
 use OpenILS::Const qw/:const/;
 use OpenSRF::AppSession;
 use OpenILS::Event;
+use OpenILS::Utils::Penalty;
 use OpenILS::Application::Circ::CircCommon;
 my $U = 'OpenILS::Application::AppUtils';