From: ivan Date: Fri, 22 Feb 2002 09:01:08 +0000 (+0000) Subject: correctly disable/enable accounts @ CP X-Git-Tag: freeside_1_4_0pre11~14 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=f430dd9ec58e429c2ddc7c3c83aeaf8d8c74c4fd;ds=sidebyside correctly disable/enable accounts @ CP --- diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 314a7527b..b90cbe8d3 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -843,12 +843,16 @@ sub cp_change { if ( $password =~ /^\*SUSPENDED\* (.*)$/ ) { $password = $1; $app->set_mailbox_status( - Other => 'T', + Domain => $mydomain, + Mailbox => $username, + Other => 'T', Other_Bounce => 'T', ); } else { $app->set_mailbox_status( - Other => 'F', + Domain => $mydomain, + Mailbox => $username, + Other => 'F', Other_Bounce => 'F', ); }