summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-08-02 17:08:56 -0700
committerIvan Kohler <ivan@freeside.biz>2017-08-02 17:08:56 -0700
commitd731b1490d3a58a46c4201c0bb4871230a4c9a6f (patch)
tree3f017ac1a6b2a07d06c3d62d9869b84386f43c80 /FS
parent2c1dc1b870d4a01b3797797ac27640f0579c86c4 (diff)
enable all debugging when you turn on the checkbox, RT#76756
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/part_export/pbxware.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/part_export/pbxware.pm b/FS/FS/part_export/pbxware.pm
index 4373e7a..9458fca 100644
--- a/FS/FS/part_export/pbxware.pm
+++ b/FS/FS/part_export/pbxware.pm
@@ -137,7 +137,7 @@ sub import_cdrs {
# page's IDs or something.
my $uniqueid = md5_hex(join(',',@$row));
if ( FS::cdr->row_exists('uniqueid = ?', $uniqueid) ) {
- warn "skipped duplicate row in page $page\n" if $DEBUG > 1;
+ warn "skipped duplicate row in page $page\n" if $DEBUG;
next CDR;
}
@@ -186,7 +186,7 @@ local $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0;
]
);
warn "$me $method\n" if $DEBUG;
- warn $request->as_string."\n" if $DEBUG > 1;
+ warn $request->as_string."\n" if $DEBUG;
my $ua = LWP::UserAgent->new;
my $response = $ua->request($request);