Blob Blame History Raw
diff -up lib/MasonX/Request/WithApacheSession.pm.subrequest lib/MasonX/Request/WithApacheSession.pm
--- lib/MasonX/Request/WithApacheSession.pm.subrequest	2008-01-17 12:52:50.000000000 -0600
+++ lib/MasonX/Request/WithApacheSession.pm	2008-01-17 12:55:25.000000000 -0600
@@ -74,7 +74,7 @@ sub new
 
     my $self = $class->SUPER::new(@_);
 
-    return if $self->is_subrequest;
+    return $self if $self->is_subrequest;
 
     # backwards compatibility
     $self->{session_param_name} =