From: ivan Date: Tue, 29 Nov 2011 02:36:46 +0000 (+0000) Subject: add forward and spam setting to inter.net portal, RT#13656 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ed809baa3218f6189f8029ac1e4c4e4f9372110c add forward and spam setting to inter.net portal, RT#13656 --- diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 402139732..1b32ce31e 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -1570,6 +1570,7 @@ sub process_acct_forward { ); if ( $p->{'dst'} eq '' ) { + warn Dumper($p); if ( $old ) { my $error = $old->delete; return { 'error' => $error }; @@ -1592,7 +1593,9 @@ sub process_acct_forward { my $conf = new FS::Conf; $new->svcpart($conf->config('selfservice-svc_forward_svcpart')); $new->pkgnum($old->cust_svc->pkgnum); + warn Dumper($new); $error = $new->insert; + warn $error; } return { 'error' => $error };