From: miker Date: Wed, 13 Apr 2005 18:35:29 +0000 (+0000) Subject: added general storage result caching where applicable; added actor::card to the field... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=77649a9da3882e699eb5d17c46725ed705a56e61;p=opensrf%2Fbjwebb.git added general storage result caching where applicable; added actor::card to the fieldmapper git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@277 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/perlmods/OpenSRF/Application.pm b/src/perlmods/OpenSRF/Application.pm index 64493aa..1e7493a 100644 --- a/src/perlmods/OpenSRF/Application.pm +++ b/src/perlmods/OpenSRF/Application.pm @@ -243,7 +243,7 @@ sub register_method { $args{api_level} ||= 1; $args{stream} ||= 0; $args{remote} ||= 0; - $args{package} = $app; + $args{package} ||= $app; $args{server_class} = server_class(); $args{api_name} ||= $args{server_class} . '.' . $args{method};