fix syntax error as a result of inadvertant backport, RT#41597, RT#35167
authorIvan Kohler <ivan@freeside.biz>
Mon, 4 Apr 2016 22:29:16 +0000 (15:29 -0700)
committerIvan Kohler <ivan@freeside.biz>
Mon, 4 Apr 2016 22:29:16 +0000 (15:29 -0700)
FS/FS/part_event/Action/http.pm

index b17acb8..c3b1af0 100644 (file)
@@ -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,
+                       },
   );
 }