summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-06-21 20:26:14 +0000
committerivan <ivan>2002-06-21 20:26:14 +0000
commit5939c0f1ae7bea08adde82f6d3578e6c5ac31248 (patch)
treeeac787df08ffc771efdffa64db65944c84e30015
parent185eb6429f5ae208dfaf206395db4d3a16fe8ae3 (diff)
fix infostreet contact field setting
-rw-r--r--FS/FS/part_export/infostreet.pm4
1 files changed, 2 insertions, 2 deletions
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} );
}
}