From: ivan Date: Wed, 10 Sep 2003 21:39:20 +0000 (+0000) Subject: fix for communigate pro weird data structure on create X-Git-Tag: NET_WHOIS_RAW_0_31~418 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=c3544763d301a8f1bc2c1b5f4ea4c9b3543332d2 fix for communigate pro weird data structure on create --- diff --git a/FS/FS/part_export/communigate_pro.pm b/FS/FS/part_export/communigate_pro.pm index 4068881e4..2370e3179 100644 --- a/FS/FS/part_export/communigate_pro.pm +++ b/FS/FS/part_export/communigate_pro.pm @@ -88,8 +88,10 @@ sub CreateAccount { my $accountType = delete $args{'accountType'}; my $externalFlag = delete $args{'externalFlag'}; $args{'AccessModes'} = [ split(' ', $args{'AccessModes'}) ]; - @args = ( accountName => $accountName, [ settings => \%args ], - accountType => $accountType, externalFlag => $externalFlag, ); + @args = ( accountName => $accountName, [ + settings => \%args, + accountType => $accountType, + externalFlag => $externalFlag, ] ); communigate_pro_command( $machine, $port, $login, $password, $method, @args );