summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-04-04 15:29:16 -0700
committerIvan Kohler <ivan@freeside.biz>2016-04-04 15:29:16 -0700
commit709bd7a384bd8dbde3a15185708a7598e91130d5 (patch)
tree6a2b9a86b168689f4721d53a40ad4ac24d7c6091 /FS
parent137d53fa8148996a844dff0f179f8c06afe9e592 (diff)
fix syntax error as a result of inadvertant backport, RT#41597, RT#35167
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/part_event/Action/http.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/FS/FS/part_event/Action/http.pm b/FS/FS/part_event/Action/http.pm
index b17acb8b5..c3b1af039 100644
--- a/FS/FS/part_event/Action/http.pm
+++ b/FS/FS/part_event/Action/http.pm
@@ -1,13 +1,16 @@
package FS::part_event::Action::http;
+use base qw( FS::part_event::Action );
use strict;
-use base qw( FS::part_event::Action );
+use vars qw( $me );
use IO::Socket::SSL;
use LWP::UserAgent;
use HTTP::Request::Common;
use JSON::XS;
use FS::Misc::DateTime qw( iso8601 );
+$me = '[FS::part_event::Action::http]';
+
#sub description { 'Send an HTTP or HTTPS GET or POST request'; }
sub description { 'Send an HTTP or HTTPS POST request'; }
@@ -38,6 +41,10 @@ sub option_fields {
type => 'textarea',
},
#'response_error_param' => 'Response error parameter',
+ 'debug' => { label => 'Enable debugging',
+ type => 'checkbox',
+ value => 1,
+ },
);
}