X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Finfostreet.pm;h=89ab06d22ab9d7c67ed7000f2075857c581aa771;hp=a2fc049f4782cb5d15addad95b33757aa95226ed;hb=5939c0f1ae7bea08adde82f6d3578e6c5ac31248;hpb=185eb6429f5ae208dfaf206395db4d3a16fe8ae3 diff --git a/FS/FS/part_export/infostreet.pm b/FS/FS/part_export/infostreet.pm index a2fc049f4..89ab06d22 100644 --- a/FS/FS/part_export/infostreet.pm +++ b/FS/FS/part_export/infostreet.pm @@ -143,9 +143,9 @@ sub infostreet_setContact { my($url, $is_username, $is_password, $groupID, $username, %contact_info) = @_; my $accountID = infostreet_command($url, $is_username, $is_password, $groupID, 'getAccountID', $username); - foreach my $field ( %contact_info ) { + foreach my $field ( keys %contact_info ) { infostreet_command($url, $is_username, $is_password, $groupID, - 'setContactField', $field, $contact_info{$field} ); + 'setContactField', $accountID, $field, $contact_info{$field} ); } }