From 7ee00aa19164acbf1339f66221ef7081ac957f41 Mon Sep 17 00:00:00 2001 From: miker Date: Sat, 11 Feb 2006 05:20:31 +0000 Subject: [PATCH] refactored copy targeter to use new JS copy tester; adjusted object relationships; added ranged tree methods for record and volume git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@636 9efc2488-bf62-4759-914b-345cdb29e865 --- src/perlmods/OpenSRF/AppSession.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/perlmods/OpenSRF/AppSession.pm b/src/perlmods/OpenSRF/AppSession.pm index b694a29..97a6170 100644 --- a/src/perlmods/OpenSRF/AppSession.pm +++ b/src/perlmods/OpenSRF/AppSession.pm @@ -1015,7 +1015,9 @@ sub respond { sub respond_complete { respond(@_); } sub new { - return bless({resp => []}, 'OpenSRF::AppSubrequest'); + my $class = shift; + $class = ref($class) || $class; + return bless({resp => [], @_}, $class); } sub responses { @{$_[0]->{resp}} } -- 2.11.0