diff options
author | ivan <ivan> | 2009-05-31 04:57:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-05-31 04:57:00 +0000 |
commit | 6ef8f43327f534f8e6f03265ecd97bd654730c07 (patch) | |
tree | 5c0030d526665c1a2b8d4ae0a2f08ddff73460b5 /FS | |
parent | d40b234aeb9d77f3a780d919e7367e155d8d2a36 (diff) |
necessary for bin/cdr-netsapeins.import
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_export/netsapiens.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/part_export/netsapiens.pm b/FS/FS/part_export/netsapiens.pm index e19e95cb4..172f7b053 100644 --- a/FS/FS/part_export/netsapiens.pm +++ b/FS/FS/part_export/netsapiens.pm @@ -39,9 +39,11 @@ sub ns_command { my @args = ( $command ); if ( $method eq 'PUT' ) { - my $content = $method eq 'PUT' ? $ns->buildQuery( { @_ } ) : ''; + my $content = $ns->buildQuery( { @_ } ); $content =~ s/^\?//; push @args, $content; + } elsif ( $method eq 'GET' ) { + $args[0] .= $ns->buildQuery( { @_ } ); } my $auth = |