This commit is contained in:
lissav 2014-04-17 10:17:21 -04:00
parent 204737f826
commit 6bb5a53c37

View File

@ -26,8 +26,7 @@ sub preprocess_request
my @requests = ({%$req}); #first element is local instance
$::args = $req->{arg};
if (defined(@{$::args})) {
if ( defined ($::args) && @{$::args} ) {
@ARGV = @{$::args};
}
@ -88,7 +87,7 @@ sub process_request
$::args = $request->{arg};
if (defined(@{$::args})) {
if ( defined ($::args) && @{$::args} ) {
@ARGV = @{$::args};
}