This commit is contained in:
lissav 2014-04-17 10:16:49 -04:00
parent 95f45af6b2
commit dd3ddd189b

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};
}