summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2004-06-16 23:59:43 +0000
committerivan <ivan>2004-06-16 23:59:43 +0000
commitc4ed19db84cc71ef13ded9f86ba413411b5c05f6 (patch)
tree54629a4a0e36c3f3ca53d62d52ca7f079bd81194
parent1238858779262e56f45aef69d33b54052407c7f7 (diff)
fix deletion of accounts connected to virtual hosts
-rw-r--r--FS/FS/svc_acct.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index 6ea30437a..f66c715cd 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -465,7 +465,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)