From a1a0800de7c69fe5ee414b79e408ceacd4a1c2c3 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 25 Apr 2013 14:45:49 -0700 Subject: changes to support PayPal, #22395 --- httemplate/edit/process/payment_gateway.html | 1 + 1 file changed, 1 insertion(+) (limited to 'httemplate/edit/process') diff --git a/httemplate/edit/process/payment_gateway.html b/httemplate/edit/process/payment_gateway.html index 812c988c5..157449e89 100644 --- a/httemplate/edit/process/payment_gateway.html +++ b/httemplate/edit/process/payment_gateway.html @@ -15,6 +15,7 @@ my $args_callback = sub { my @options = split(/\r?\n/, $cgi->param('gateway_options') ); pop @options if scalar(@options) % 2 && $options[-1] =~ /^\s*$/; + @options = ( {} ) if !@options; (@options) }; -- cgit v1.2.1