From 23cc80e6042b267acf856cc3940bc7642fc4bfe5 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 27 Jul 2005 15:25:14 +0000 Subject: [PATCH] moved redirect to latest mod_perl added a .js file to the opac that was missing fixed unitialized value logging in appsession git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@438 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 e7dbde3..80e62c2 100644 --- a/src/perlmods/OpenSRF/AppSession.pm +++ b/src/perlmods/OpenSRF/AppSession.pm @@ -740,7 +740,9 @@ sub recv { #$args{timeout} = 0 if ($self->complete); - $logger->debug( ref($self) ."->recv with timeout " . $args{timeout}, INTERNAL ); + if(defined($args{timeout})) { + $logger->debug( ref($self) ."->recv with timeout " . $args{timeout}, INTERNAL ); + } $args{count} ||= 1; -- 2.11.0