diff options
author | ivan <ivan> | 2004-06-16 23:59:45 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-06-16 23:59:45 +0000 |
commit | 9bba713bb625cf635088b76492e1e655ad62cbb0 (patch) | |
tree | 023a788f8a756f276401a804f37963bd0cc474a7 | |
parent | be334a2e22ac506f52a2b01feddc30a11ad6c55c (diff) |
fix deletion of accounts connected to virtual hosts
-rw-r--r-- | FS/FS/svc_acct.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 156523089..0824fbe3a 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -474,7 +474,7 @@ sub delete { if qsearch( 'svc_forward', { 'dstsvc' => $self->svcnum } ); return "Can't delete an account with (svc_www) web service!" - if qsearch( 'svc_www', { 'usersvc' => $self->usersvc } ); + if qsearch( 'svc_www', { 'usersvc' => $self->svcnum } ); # what about records in session ? (they should refer to history table) |