Skip to content

Commit

Permalink
Fixes #3: "Change xyz" in selfservice resets cust_contact.selfservice…
Browse files Browse the repository at this point in the history
…_access to NULL
  • Loading branch information
Erreu Gedmon committed Dec 1, 2016
1 parent 79fa014 commit b33c2d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion FS/FS/ClientAPI/MyAccount.pm
Expand Up @@ -784,7 +784,9 @@ sub edit_info {
@invoicing_list = split( /\s*\,\s*/, $p->{'invoicing_list'} );
push @invoicing_list, 'POST' if $p->{'postal_invoicing'};
} else {
@invoicing_list = $cust_main->invoicing_list;
my $error = $new->replace($cust_main);
return { 'error' => $error } if $error;
return { 'error' => '' };
}

my $error = $new->replace($cust_main, \@invoicing_list);
Expand Down

0 comments on commit b33c2d9

Please sign in to comment.