[interchange] * Allow return from Dispatch after Autoload routine.
Mike Heins
interchange-cvs at icdevgroup.org
Tue Jun 14 20:05:35 UTC 2016
commit 5ba9d82538f0ddb6aaf2cc9cf99ece2968a0f8bb
Author: Mike Heins <mike at perusion.com>
Date: Tue Jun 14 16:02:34 2016 -0400
* Allow return from Dispatch after Autoload routine.
lib/Vend/Dispatch.pm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/Vend/Dispatch.pm b/lib/Vend/Dispatch.pm
index c84fcc0..ddfa50e 100644
--- a/lib/Vend/Dispatch.pm
+++ b/lib/Vend/Dispatch.pm
@@ -1770,6 +1770,8 @@ EOF
run_macro($Vend::Session->{Autoload});
#show_times("end session Autoload macro") if $Global::ShowTimes;
+ return $Vend::AutoloadReturn if defined $Vend::AutoloadReturn;
+
# If the cgi-bin program was invoked with no extra path info,
# just display the catalog page.
if (! $Vend::FinalPath || $Vend::FinalPath =~ m:^/+$:) {
More information about the interchange-cvs
mailing list