summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-11-29 02:36:46 +0000
committerivan <ivan>2011-11-29 02:36:46 +0000
commited809baa3218f6189f8029ac1e4c4e4f9372110c (patch)
tree8239b0771cf55ce2cff377e034d40cd9d4a251f8
parent34a05bf48b1d1e22d046ab0c27bade7386fb0dab (diff)
add forward and spam setting to inter.net portal, RT#13656
-rw-r--r--FS/FS/ClientAPI/MyAccount.pm3
1 files changed, 3 insertions, 0 deletions
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 };